collectables per wave
This commit is contained in:
parent
002ad4a162
commit
69fe717b22
3 changed files with 31 additions and 19 deletions
|
|
@ -3,12 +3,12 @@ use bevy::{ecs::system::SystemParam, prelude::*};
|
|||
use crate::core::{kirby::Kirby, wave::BubbleWaves};
|
||||
|
||||
#[derive(Event)]
|
||||
struct EndGameEvent {
|
||||
pub struct EndGameEvent {
|
||||
pub reason: EndGameReason,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
enum EndGameReason {
|
||||
pub enum EndGameReason {
|
||||
Die,
|
||||
Victory,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue