enum Shatter::Data::Entity::Meta::State

Defined in:

shatter/data/entity.cr

Enum Members

OnFire = 1_u8
Crouching = 2_u8
Riding = 4_u8
Sprinting = 8_u8
Swimming = 16_u8
Invisible = 32_u8
Glowing = 64_u8
Elytra = 128_u8

Instance Method Summary

Instance methods inherited from struct Enum

to_json_object_key : String to_json_object_key

Instance Method Detail

def crouching? #

[View source]
def elytra? #

[View source]
def glowing? #

[View source]
def invisible? #

[View source]
def none? #

[View source]
def on_fire? #

[View source]
def riding? #

[View source]
def sprinting? #

[View source]
def swimming? #

[View source]