Module: Chingu::Helpers::GameState

Extended by:
Forwardable
Included in:
Console, GameState, Window
Defined in:
lib/chingu/helpers/game_state.rb

Overview

push_game_state accepts either a class inherited from GameState or an object-instance from such a class.

It will make call new() on a class, and just push an object.