enum

Tsh::CollisionFlags

Inherits Enum < Comparable < Value < Object

Flags for setting a PlayThing's collision

Constants

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 methods

custom1?

Returns true if this enum value contains Custom1

Source
custom2?

Returns true if this enum value contains Custom2

Source
custom3?

Returns true if this enum value contains Custom3

Source
custom4?

Returns true if this enum value contains Custom4

Source
custom5?

Returns true if this enum value contains Custom5

Source
custom6?

Returns true if this enum value contains Custom6

Source
enemy?

Returns true if this enum value contains Enemy

Source
none?
Source
obstacle?

Returns true if this enum value contains Obstacle

Source
pickup?

Returns true if this enum value contains Pickup

Source
player?

Returns true if this enum value contains Player

Source