added game state trait
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
023d010c84
commit
2a0ba5c594
1 changed files with 5 additions and 0 deletions
5
src/state/game_state.rs
Normal file
5
src/state/game_state.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
trait GameState {
|
||||
fn render(&self) -> String;
|
||||
fn init(&self) -> u32;
|
||||
fn simulate(&self) -> u32;
|
||||
}
|
Loading…
Reference in a new issue