diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-05-16 08:10:20 -0700 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-05-16 08:10:20 -0700 |
| commit | 7d415c4958f584c031922ed77a3559d15bf2dc1b (patch) | |
| tree | 1957ccc8a42de22778b639352b38d9091a4adf4d /entity.lua | |
| parent | 8cd9ec2e98d27b414bc7cff3a5a98b0aad9099ce (diff) | |
| download | dyl8-7d415c4958f584c031922ed77a3559d15bf2dc1b.tar.gz dyl8-7d415c4958f584c031922ed77a3559d15bf2dc1b.zip | |
Snapshot
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 |
