| 38 | } |
| 39 | |
| 40 | struct GameState { |
| 41 | batch: Batcher, |
| 42 | |
| 43 | rng: ThreadRng, |
| 44 | texture: Texture, |
| 45 | bunnies: Vec<Bunny>, |
| 46 | |
| 47 | auto_spawn: bool, |
| 48 | spawn_timer: i32, |
| 49 | } |
| 50 | |
| 51 | impl GameState { |
| 52 | fn new(app: &App) -> GameState { |
nothing calls this directly
no outgoing calls
no test coverage detected