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
|
||||
#[allow(clippy::type_complexity)]
|
||||
pub fn enemy_movement(
|
||||
time: Res<Time>,
|
||||
mut set: ParamSet<(
|
||||
|
|
|
@ -68,6 +68,7 @@ pub fn movement(
|
|||
transform.translation += movement_direction * movement_distance;
|
||||
}
|
||||
|
||||
#[allow(clippy::type_complexity)]
|
||||
pub fn attack(
|
||||
keys: Res<ButtonInput<KeyCode>>,
|
||||
mut set: ParamSet<(
|
||||
|
|
Loading…
Reference in a new issue