summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/timed_cache_data.hrl')
-rw-r--r--src/timed_cache_data.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timed_cache_data.hrl b/src/timed_cache_data.hrl
index 23441d3..89e0f41 100644
--- a/src/timed_cache_data.hrl
+++ b/src/timed_cache_data.hrl
@@ -1,9 +1,9 @@
%% TODO: add types.
-record(battlemap, {id, width, height, content, instances}).
-record(battlemap_instance, {id, chars, curr_player, players, rem_chars, last_turn}).
--record(character, {id, name, icon, portrait, mov_pts, atk_rg}).
+-record(character, {id, name, icon, portrait, health, mov_pts, atk_rg}).
-record(character_turn, {id, path, target}).
-record(player, {id, battlemaps, characters}).
%% Not stored in its own timed cache.
--record(character_instance, {x, y, team}).
+-record(character_instance, {x, y, health, team}).