class Game

Game class is simply an encapsulation of the chingu window - essentially, the entry point of the game.

Public Class Methods

new() click to toggle source

Initialization of Game only creates a window of a specified size and pushes the beginning game state - Splash, into the game state stack.

Calls superclass method
# File lib/prkwars/game.rb, line 13
def initialize
  super(1280, 720)
  push_game_state(Splash)
end