summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
Diffstat (limited to 'not')
-rw-r--r--not/SceneManager.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/not/SceneManager.lua b/not/SceneManager.lua
index 367a4c0..2e429c2 100644
--- a/not/SceneManager.lua
+++ b/not/SceneManager.lua
@@ -14,4 +14,20 @@ function SceneManager:getScene ()
return self.scene
end
+function SceneManager:update (dt)
+ self:getScene():update(dt)
+end
+
+function SceneManager:draw ()
+ self:getScene():draw()
+end
+
+function SceneManager:controlpressed (set, action, key)
+ self:getScene():controlpressed(set, action, key)
+end
+
+function SceneManager:controlreleased (set, action, key)
+ self:getScene():controlreleased(set, action, key)
+end
+
return SceneManager