public StateMachine() { currentState = null; controllingAI = null; stateDict = new Dictionary <string, AIState>(); }