pub trait GameCommands {
    fn add_actor(&mut self, actor_type: ActorType, pos: Point);
    fn add_sound(&mut self, index: SoundIndex);

    fn add_particle_firework(&mut self, pos: Point, count: usize) { ... }
}

Required Methods

Provided Methods

Implementors