summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2017-11-16 17:06:17 +0100
committernsensfel <SpamShield0@noot-noot.org>2017-11-16 17:06:17 +0100
commitefaf3ee3f4b2478079c7b9dde8f9e879956a460f (patch)
tree809dba1496ddd1c3058df0722a9fd962fd11f34b /src/timed_cache_data.hrl
parent3cc9f85a8b84f6cb69b828a6510ece7f716a6b28 (diff)
Starting changes in the structure.
Diffstat (limited to 'src/timed_cache_data.hrl')
-rw-r--r--src/timed_cache_data.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timed_cache_data.hrl b/src/timed_cache_data.hrl
new file mode 100644
index 0000000..b0d7ba6
--- /dev/null
+++ b/src/timed_cache_data.hrl
@@ -0,0 +1,6 @@
+-record(battlemap, {id, width, height, content, instances}).
+-record(battlemap_instance, {id, chars, curr_player, rem_chars, last_turn}).
+-record(character, {id, name, icon, portrait, mov_pts, atk_rg}).
+-record(character_instance, {id, x, y, team}).
+-record(character_turn, {id, path, target}).
+-record(player, {id, battlemaps, characters}).