Class: Patience::Game
Instance Method Summary collapse
-
#initialize ⇒ Game
constructor
A new instance of Game.
Constructor Details
#initialize ⇒ Game
Returns a new instance of Game.
3 4 5 6 7 8 |
# File 'lib/patience/game.rb', line 3 def initialize super("Patience", :size => [800, 600]) Patience::GameScene.bind(self) scenes << :game_scene end |