summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-12-12 18:24:00 +0100
committernsensfel <SpamShield0@noot-noot.org>2019-12-12 18:24:00 +0100
commit65104411c1dbb3f9da1a10ee1aef76dbf2886b2c (patch)
treef2bbd995210fbe56bcc2ffe9659442a1736a62f5 /src/shared/battle-map/BattleMap/Struct/Map.elm
parent0f32d059365e037405a71ecbd0f01b82b59cf7da (diff)
...
Diffstat (limited to 'src/shared/battle-map/BattleMap/Struct/Map.elm')
-rw-r--r--src/shared/battle-map/BattleMap/Struct/Map.elm10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/battle-map/BattleMap/Struct/Map.elm b/src/shared/battle-map/BattleMap/Struct/Map.elm
index 1f254ac..cb0143e 100644
--- a/src/shared/battle-map/BattleMap/Struct/Map.elm
+++ b/src/shared/battle-map/BattleMap/Struct/Map.elm
@@ -103,7 +103,7 @@ remove_marker marker_name map =
(BattleMap.Struct.Location.from_ref loc)
map
)
- (BattleMap.Struct.TileInstance.remove_trigger
+ (BattleMap.Struct.TileInstance.remove_tag
marker_name
)
array
@@ -126,7 +126,7 @@ add_marker marker_name marker map =
(BattleMap.Struct.Location.from_ref loc)
map
)
- (BattleMap.Struct.TileInstance.add_trigger marker_name)
+ (BattleMap.Struct.TileInstance.add_tag marker_name)
array
)
)
@@ -247,8 +247,8 @@ get_tile_data_function bmap occupied_tiles start_loc loc =
else (BattleMap.Struct.TileInstance.get_cost tile)
),
(Set.foldl
- (\trigger dangers_count ->
- case (Dict.get trigger bmap.markers) of
+ (\tag dangers_count ->
+ case (Dict.get tag bmap.markers) of
Nothing -> dangers_count
(Just marker) ->
if (BattleMap.Struct.Marker.is_dangerous marker)
@@ -256,7 +256,7 @@ get_tile_data_function bmap occupied_tiles start_loc loc =
else dangers_count
)
0
- (BattleMap.Struct.TileInstance.get_triggers tile)
+ (BattleMap.Struct.TileInstance.get_tags tile)
)
)