enum

GSDL::Collidable::Shape

Inherits Enum < Comparable < Value < Object

Constants

Rect = 0
Circle = 1
Polygon = 2

Instance methods

circle?

Returns true if this enum value equals Circle

Source
polygon?

Returns true if this enum value equals Polygon

Source
rect?

Returns true if this enum value equals Rect

Source