From 7d415c4958f584c031922ed77a3559d15bf2dc1b Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Sat, 16 May 2026 08:10:20 -0700 Subject: Snapshot --- entity.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'entity.lua') diff --git a/entity.lua b/entity.lua index e383b4f..849674e 100644 --- a/entity.lua +++ b/entity.lua @@ -4,8 +4,12 @@ Entities = { Enemy = 2, Bow = 3, Particle = 4, - Wife = 5 + Wife = 5, + Fire = 6, + Door = 7, + Block = 8 } + -- TODO: Why are these all in one object. We should have like "SpriteStates", "FireStates", etc. States = { Walk = "walk", Idle = "idle", @@ -13,9 +17,13 @@ States = { Equipped = "equipped", Slashing = "slashing", Drawing = "drawing", - Drawn = "drawn" + Drawn = "drawn", + Hot = "hot", + Warm = "warm" } +SPRITE_DIMS = vec2(8, 8) + Entity = {} Entity.__index = Entity -- cgit v1.3