class SfmlBook::Chapter5::StateStack

Included Modules

Defined in:

chapter5/state_stack.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(context : State::Context) #

[View source]

Instance Method Detail

def apply_pending_changes #

[View source]
def clear #

[View source]
def create(id : States) #

[View source]
def draw #

[View source]
def empty? #

[View source]
def handle_event(event : SF::Event) #

[View source]
def pop #

[View source]
def push(id : States) #

[View source]
def register(type : Class, id : States) #

[View source]
def update(delta : SF::Time) #

[View source]