ball insert into track queue
This commit is contained in:
parent
138c62ac34
commit
c4d547520e
3 changed files with 116 additions and 65 deletions
|
|
@ -71,6 +71,7 @@ pub struct WaveState {
|
|||
pub spawning_allowed: bool,
|
||||
pub ball_reached_end: bool,
|
||||
pub is_warming_up: bool,
|
||||
pub is_queue_locked: bool, //отдельно для большей явности
|
||||
}
|
||||
|
||||
impl Default for WaveState {
|
||||
|
|
@ -79,6 +80,7 @@ impl Default for WaveState {
|
|||
spawning_allowed: false,
|
||||
ball_reached_end: false,
|
||||
is_warming_up: false,
|
||||
is_queue_locked: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -96,4 +98,6 @@ pub struct BallProjectile {
|
|||
pub velocity: Vec2,
|
||||
pub previous_position: Vec2,
|
||||
pub ball_type: BallType,
|
||||
pub is_fresh: bool,
|
||||
pub travel_distance: f32,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue