summaryrefslogtreecommitdiff
path: root/entity.lua
diff options
context:
space:
mode:
Diffstat (limited to 'entity.lua')
-rw-r--r--entity.lua12
1 files changed, 10 insertions, 2 deletions
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