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:
2019-10-01 12:44:47 -05:00
parent a3a2e2a2ac
commit b945255849
6 changed files with 27 additions and 35 deletions

View File

@@ -2,4 +2,7 @@ class IMICRTS
NAME = "I-MIC RTS"
VERSION = "0.0.1"
VERSION_NAME = "InDev"
GAME_ROOT_PATH = File.expand_path("../../", __FILE__)
ASSETS_PATH = "#{GAME_ROOT_PATH}/assets"
end