kroz-rs/src/components/mod.rs
Alex Page d9606e8b87
All checks were successful
continuous-integration/drone/push Build is passing
Switch from specs to hecs
2022-02-03 00:07:12 -05:00

21 lines
403 B
Rust

use std::time::Instant;
pub mod monster;
pub mod player;
pub mod position;
pub mod renderable;
pub use monster::Monster;
pub use player::Player;
pub use position::Position;
pub use renderable::Renderable;
use crate::resources::sound_output::SoundEffectHandle;
pub struct WantsToWhip {
pub frame: u8,
pub last_frame: Instant,
pub sound: Option<SoundEffectHandle>,
}
pub struct Killed {}