MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / GameState

Class GameState

examples/bunnymark.rs:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40struct 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
51impl GameState {
52 fn new(app: &App) -> GameState {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected