chore: allow type_complexity with clippy
This commit is contained in:
parent
832bbda824
commit
86f6f47eee
|
@ -21,6 +21,7 @@ pub struct Enemy {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Define the enemy movement system
|
// Define the enemy movement system
|
||||||
|
#[allow(clippy::type_complexity)]
|
||||||
pub fn enemy_movement(
|
pub fn enemy_movement(
|
||||||
time: Res<Time>,
|
time: Res<Time>,
|
||||||
mut set: ParamSet<(
|
mut set: ParamSet<(
|
||||||
|
|
|
@ -68,6 +68,7 @@ pub fn movement(
|
||||||
transform.translation += movement_direction * movement_distance;
|
transform.translation += movement_direction * movement_distance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::type_complexity)]
|
||||||
pub fn attack(
|
pub fn attack(
|
||||||
keys: Res<ButtonInput<KeyCode>>,
|
keys: Res<ButtonInput<KeyCode>>,
|
||||||
mut set: ParamSet<(
|
mut set: ParamSet<(
|
||||||
|
|
Loading…
Reference in a new issue