- updateState(StateMachine, EnvironmentModel) - Method in class ai.stateMachine.AttackingState
-
Go to passive state if the ball is outside of movement range
Go to Defending state if the team doesnt have the ball and the agent doesnt have the ball
Go to Support state if the agent doesn't have the ball but the team does have the ball
- updateState(StateMachine, EnvironmentModel) - Method in class ai.stateMachine.DefendingState
-
Go to passive state if the ball moves outside of movement area
Go to support state if another team mate gets the ball
Go to Attack state if this agent wins possession of the ball
- updateState(StateMachine, EnvironmentModel) - Method in class ai.stateMachine.PassiveState
-
If the model is within the movement range, update the state before
processing the model.
- updateState(StateMachine, EnvironmentModel) - Method in interface ai.stateMachine.State
-
Decide if the players behavioural state should change, and if it
should, change it.
- updateState(StateMachine, EnvironmentModel) - Method in class ai.stateMachine.SupportState
-
Go to Passive State if the ball is outside of the agent's movement range
Go to Attacking state if the agent gets the ball
Go to Defending state if the team doesnt have the ball.