lib/cyberarm_engine/engine.rb in cyberarm_engine-0.1.0 vs lib/cyberarm_engine/engine.rb in cyberarm_engine-0.2.0

- old
+ new

@@ -46,13 +46,15 @@ def dt @last_frame_time/1000.0 end def button_down(id) + super current_state.button_down(id) if current_state end def button_up(id) + super current_state.button_up(id) if current_state end def push_state(klass, options={}) if klass.instance_of?(klass.class) && defined?(klass.options) \ No newline at end of file