Compare commits

...

1 commit

Author SHA1 Message Date
2a0ba5c594 added game state trait
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-02 20:52:47 +02:00

5
src/state/game_state.rs Normal file
View file

@ -0,0 +1,5 @@
trait GameState {
fn render(&self) -> String;
fn init(&self) -> u32;
fn simulate(&self) -> u32;
}