enum Shatter::Data::Player::Gamemode

Defined in:

shatter/data/player.cr

Enum Members

Survival = 0_i8
Creative = 1_i8
Adventure = 2_i8
Spectator = 3_i8

Instance Method Summary

Instance methods inherited from struct Enum

to_json_object_key : String to_json_object_key

Instance Method Detail

def adventure? #

[View source]
def creative? #

[View source]
def spectator? #

[View source]
def survival? #

[View source]