lib/cyberarm_engine/common.rb in cyberarm_engine-0.17.1 vs lib/cyberarm_engine/common.rb in cyberarm_engine-0.18.0
- old
+ new
@@ -14,10 +14,14 @@
def pop_state
window.pop_state
end
+ def shift_state
+ window.shift_state
+ end
+
def show_cursor
window.show_cursor
end
def show_cursor=(boolean)
@@ -68,9 +72,10 @@
instance = if klass == Gosu::Image
klass.new(path, retro: retro, tileable: tileable)
else
klass.new(path)
end
+
hash[path] = instance
asset = instance
end
asset