enum

PointClickEngine::Characters::CharacterState

Inherits Enum < Comparable < Value < Object

Character states for adventure game characters

Constants

Idle = 0
Walking = 1
Talking = 2
PickingUp = 3
Using = 4
Pushing = 5
Pulling = 6
Climbing = 7
Sitting = 8
Standing = 9
Dying = 10
Interacting = 11
Looking = 12
Thinking = 13

Instance methods

climbing?

Returns true if this enum value equals Climbing

Source
dying?

Returns true if this enum value equals Dying

Source
idle?

Returns true if this enum value equals Idle

Source
interacting?

Returns true if this enum value equals Interacting

Source
looking?

Returns true if this enum value equals Looking

Source
picking_up?

Returns true if this enum value equals PickingUp

Source
pulling?

Returns true if this enum value equals Pulling

Source
pushing?

Returns true if this enum value equals Pushing

Source
sitting?

Returns true if this enum value equals Sitting

Source
standing?

Returns true if this enum value equals Standing

Source
talking?

Returns true if this enum value equals Talking

Source
thinking?

Returns true if this enum value equals Thinking

Source
to_s(io)
Source
to_s

Returns a String representation of this enum member. In the case of regular enums, this is just the name of the member. In the case of flag enums, it's the names joined by vertical bars, or "None", if the value is zero.

If an enum's value doesn't match a member's value, the raw value is returned as a string.

Color::Red.to_s                     # => "Red"
IOMode::None.to_s                   # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"

Color.new(10).to_s # => "10"
Source
using?

Returns true if this enum value equals Using

Source
walking?

Returns true if this enum value equals Walking

Source