diff --git a/js/format-base.js b/js/format-base.js index f60717e..a7a91d5 100644 --- a/js/format-base.js +++ b/js/format-base.js @@ -5,6 +5,14 @@ export class StoredCell extends Array { constructor() { super(LAYERS.MAX); } + + get_terrain() { + return this[LAYERS.terrain] ?? null; + } + + get_actor() { + return this[LAYERS.actor] ?? null; + } } export class Replay {