lib/cyberarm_engine/common.rb in cyberarm_engine-0.13.1 vs lib/cyberarm_engine/common.rb in cyberarm_engine-0.14.0
- old
+ new
@@ -76,18 +76,18 @@
return asset
end
def get_image(path, retro: false, tileable: false)
- get_asset(path, Engine::IMAGES, Gosu::Image, retro, tileable)
+ get_asset(path, Window::IMAGES, Gosu::Image, retro, tileable)
end
def get_sample(path)
- get_asset(path, Engine::SAMPLES, Gosu::Sample)
+ get_asset(path, Window::SAMPLES, Gosu::Sample)
end
def get_song(path)
- get_asset(path, Engine::SONGS, Gosu::Song)
+ get_asset(path, Window::SONGS, Gosu::Song)
end
def window
$window
end