mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-18 05:52:34 +00:00
Sync: Renamed Engine to Window to be less confusing, elements are now supposed to throw a changed event if their value is changed
This commit is contained in:
@@ -78,15 +78,15 @@ module CyberarmEngine
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user