Beispiel #1
0
 public FiniteState getState() {
   return fsm.getCurrState();
 }
Beispiel #2
0
 // If state name is "attacking," can attack current target.
 public String getStateName() {
   return fsm.getStateName();
 }