nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/tinks: add `FeatureChangeEvent::old_feature`
[nit.git]
/
contrib
/
tinks
/
src
/
game
/
world.nit
diff --git
a/contrib/tinks/src/game/world.nit
b/contrib/tinks/src/game/world.nit
index
a9e1844
..
9ba1d8b
100644
(file)
--- a/
contrib/tinks/src/game/world.nit
+++ b/
contrib/tinks/src/game/world.nit
@@
-211,6
+211,9
@@
class FeatureChangeEvent
# New `Feature`, if any
var feature: nullable Feature
+ # Previous feature, if any
+ var old_feature: nullable Feature
+
# `Pos` of this change
var pos: Pos