class SfmlBook::Chapter5::TitleState

Defined in:

chapter5/title_state.cr

Constant Summary

BLINK_TIME = SF.seconds(0.5)

Constructors

Instance Method Summary

Instance methods inherited from class SfmlBook::Chapter5::State

context : SfmlBook::Chapter5::State::Context context, draw draw, handle_event(event : SF::Event) handle_event, request_stack_clear request_stack_clear, request_stack_pop request_stack_pop, request_stack_push(state : States) request_stack_push, update(delta : SF::Time) update

Constructor methods inherited from class SfmlBook::Chapter5::State

new(stack : StateStack, context : Context) new

Constructor Detail

def self.new(stack : StateStack, context : State::Context) #

[View source]

Instance Method Detail

def draw #

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

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

[View source]