Add indexed world modifications, example use in flicker lights

This commit is contained in:
2021-11-17 11:24:40 +00:00
parent 559d7e3a23
commit 9db091597d
10 changed files with 110 additions and 32 deletions
+1
View File
@@ -26,6 +26,7 @@ defaultWorld = World
, _cameraRot = 0
, _cameraZoom = 1
, _cameraViewFrom = V2 0 0
, _modifications = IM.empty
, _creatures = IM.empty
, _creaturesZone = Zone IM.empty
, _creatureGroups = IM.empty