class SfmlBook::Chapter6::SettingsState

Defined in:

chapter6/settings_state.cr

Constructors

Instance Method Summary

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

context : SfmlBook::Chapter6::State::Context context, destroy destroy, 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::Chapter6::State

new(stack : StateStack, context : Context) new

Constructor Detail

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

[View source]

Instance Method Detail

def add_buton_label(action : Player::Action, pos_y, text) #

[View source]
def destroy #

[View source]
def draw #

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

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

[View source]
def update_labels #

[View source]