// The set of transitions that we can take in the current state.
ArrayList nt = new ArrayList();
Transition[] ts = _actor.getScheduleFSM().getTransitions();
for (int i = 0; i < ts.length; i++) {
Transition t = ts[i];
if (_currentStateSet.contains(t.getSourceState())) {
nt.add(t);
}
}
_currentTransitions = (Transition[]) nt.toArray(new Transition[nt