Class: Stance

Inherits:
Object
  • Object
show all
Defined in:
lib/Olib/character/stance.rb

Constant Summary collapse

OFFENSIVE =
"offensive"
ADVANCE =
"advance"
FORWARD =
"forward"
NEUTRAL =
"neutral"
GUARDED =
"guarded"
DEFENSIVE =
"defensive"
ENUM =
[OFFENSIVE, ADVANCE, FORWARD, NEUTRAL, GUARDED, DEFENSIVE]

Class Method Summary collapse

Class Method Details

.change(stance) ⇒ Object


11
12
13
14
15
16
17
# File 'lib/Olib/character/stance.rb', line 11

def self.change(stance)
  waitcastrt?
  waitrt?
  fput "stance #{stance}" unless checkstance == stance
  sleep 0.1
  self
end