diff options
Diffstat (limited to 'entity.lua')
| -rw-r--r-- | entity.lua | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |
