game.rs 233 B

12345678
  1. // use sdl2::keyboard as sdl;
  2. /// The shared values that the game state needs, mostly contained in
  3. /// the specs ECS world
  4. pub struct MyGame {
  5. pub world: specs::World,
  6. // pub keys: std::collections::HashSet<sdl::Keycode>,
  7. }