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

View File

@@ -11,9 +11,9 @@ class IMICFPS
end
def update
super
@y_rotation+=0.01
@y_rotation%=360
super
end
end
end