motion/joybox/core/scene.rb in joybox-1.0.0 vs motion/joybox/core/scene.rb in joybox-1.1.0
- old
+ new
@@ -2,20 +2,15 @@
module Core
class Scene < CCScene
def onEnter
-
super
-
on_enter if defined? (on_enter)
end
-
def onExit
-
super
-
on_exit if defined? (on_exit)
end
end
\ No newline at end of file