Added state machine to enemy tank