nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3e0df5
)
lib/gamnit: fix clock starting at first usage, not with the program
author
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 1 Feb 2016 16:47:46 +0000
(11:47 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 3 Feb 2016 15:33:01 +0000
(10:33 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/gamnit/flat.nit
patch
|
blob
|
history
diff --git
a/lib/gamnit/flat.nit
b/lib/gamnit/flat.nit
index
06ac8df
..
1936763
100644
(file)
--- a/
lib/gamnit/flat.nit
+++ b/
lib/gamnit/flat.nit
@@
-128,7
+128,7
@@
redef class App
# UI sprites to draw in reference to `ui_camera`, over world `sprites`
var ui_sprites: Sequence[Sprite] = new List[Sprite]
- private var clock = new Clock
+ private var clock = new Clock is lazy
redef fun on_create
do