enum SfmlBook::Chapter6::MenuState::Options

Defined in:

chapter6/menu_state.cr

Enum Members

Play = 0
Settings = 1
Exit = 2

Instance Method Summary

Instance Method Detail

def exit? #

Returns true if this enum value equals Exit


[View source]
def play? #

Returns true if this enum value equals Play


[View source]
def settings? #

Returns true if this enum value equals Settings


[View source]