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