From: Alexis Laferrière Date: Thu, 28 May 2015 20:30:28 +0000 (-0400) Subject: lib/bucketed_game: make `ThinGame::tick` writable for loading and multiplayer X-Git-Url: http://nitlanguage.org lib/bucketed_game: make `ThinGame::tick` writable for loading and multiplayer Signed-off-by: Alexis Laferrière --- diff --git a/lib/bucketed_game.nit b/lib/bucketed_game.nit index 2e8e3d3..28129a5 100644 --- a/lib/bucketed_game.nit +++ b/lib/bucketed_game.nit @@ -147,16 +147,16 @@ end # Game logic on the client class ThinGame - # Game tick when `self` should act. + # Current game tick # # Default is 0. - var tick: Int = 0 is protected writable + var tick: Int = 0 is writable end # Game turn on the client class ThinGameTurn[G: ThinGame] - # Game tick when `self` should act. + # Game tick when happened this turn var tick: Int is protected writable # Game events occurred for `self`.