enum Tsh::CollisionFlags

Overview

Flags for setting a PlayThing's collision

Defined in:

plaything.cr

Enum Members

Player = 1
Pickup = 2
Obstacle = 4
Enemy = 8
Custom1 = 16
Custom2 = 32
Custom3 = 64
Custom4 = 128
Custom5 = 256
Custom6 = 512
None = 0
All = 1023

Instance Method Summary

Instance Method Detail

def custom1? #

[View source]
def custom2? #

[View source]
def custom3? #

[View source]
def custom4? #

[View source]
def custom5? #

[View source]
def custom6? #

[View source]
def enemy? #

[View source]
def none? #

[View source]
def obstacle? #

[View source]
def pickup? #

[View source]
def player? #

[View source]