mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-14 07:12:34 +00:00
Added GAME_ROOT_PATH and ASSETS_PATH constants, make boot and closing use ASSETS_PATH, simplified Camera#mouse_pick and Camera#center
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class IMICRTS
|
||||
class Closing < CyberarmEngine::GuiState
|
||||
def setup
|
||||
@logo = Gosu::Image.new("assets/logo.png")
|
||||
@logo = Gosu::Image.new("#{ASSETS_PATH}/logo.png")
|
||||
@color = Gosu::Color.new(0xffffffff)
|
||||
|
||||
@started_at = Gosu.milliseconds
|
||||
|
||||
Reference in New Issue
Block a user