added game state trait
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Chris Bras 2021-06-02 20:52:47 +02:00
parent 023d010c84
commit 2a0ba5c594

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;
}