lib/bucketed_game: make `ThinGame::tick` writable for loading and multiplayer
authorAlexis Laferrière <alexis.laf@xymus.net>
Thu, 28 May 2015 20:30:28 +0000 (16:30 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sat, 21 May 2016 19:10:08 +0000 (15:10 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/bucketed_game.nit

index 2e8e3d3..28129a5 100644 (file)
@@ -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`.