Added Game States, decoupled game from Window class and placed it in Game < GameState

This commit is contained in:
2018-09-09 07:36:59 -05:00
parent bf783381ee
commit 16e0e4dcff
10 changed files with 216 additions and 151 deletions

9
lib/states/menu.rb Normal file
View File

@@ -0,0 +1,9 @@
class IMICFPS
class Menu < GameState
def title(text, color = Gosu::Color.rgba(127, 64, 0, 200))
end
def link(text, color = Gosu::Color::BLUE, &block)
end
end
end