aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 804a355..5811733 100644
--- a/main.lua
+++ b/main.lua
@@ -7,8 +7,9 @@ function love.load()
local scn = new_scene()
event_bind(scn.on_update, "Body", body_sys)
event_bind(scn.on_update, "Player", player_movement_sys)
+ event_bind(scn.on_update, "Sprite", sprite_anim_sys)
- event_bind(scn.on_draw, "Body", draw_sys)
+ event_bind(scn.on_draw, "Sprite", sprite_draw_sys)
set_scene(scn)
new_player(100, 100)