Added main menu, added loading screen, hacked and chiseled things until I could load models without attaching to a gameobject.

This commit is contained in:
2018-09-09 15:01:53 -05:00
parent d37758526a
commit 66e7800cad
11 changed files with 182 additions and 16 deletions

View File

@@ -1,12 +1,17 @@
class IMICFPS
class GameState
include CommonMethods
def initialize
attr_reader :options
def initialize(options = {})
@options = options
@delta_time = Gosu.milliseconds
setup
end
def push_game_state(klass_or_instance)
$window.push_game_state(klass_or_instance)
end
def setup
end