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:
2020-05-04 11:17:11 -05:00
parent 4055f645f3
commit da5d740c6e
11 changed files with 78 additions and 87 deletions

View File

@@ -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