123456789 |
- use sdl2::keyboard as sdl;
- /// The shared values that the game state needs, mostly contained in
- /// the specs ECS world
- pub struct MyGame {
- pub world: specs::World,
- pub sprites: ggez::graphics::spritebatch::SpriteBatch,
- pub keys: std::collections::HashSet<sdl::Keycode>,
- }
|