contrib/tinks: add `FeatureChangeEvent::old_feature`
[nit.git] / contrib / tinks / src / game / world.nit
index a9e1844..9ba1d8b 100644 (file)
@@ -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