public StateMachine() { StateMachine obj = this; aInitialState=(null); aStates=(null); aRules=(null); }