nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c746a4
)
lib/bucketed_game: make `ThinGame::tick` writable for loading and multiplayer
author
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 28 May 2015 20:30:28 +0000
(16:30 -0400)
committer
Alexis 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
patch
|
blob
|
history
diff --git
a/lib/bucketed_game.nit
b/lib/bucketed_game.nit
index
2e8e3d3
..
28129a5
100644
(file)
--- 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`.