public interface EnvironmentView
Modifier and Type | Method and Description |
---|---|
void |
agentActed(Agent agent,
Action action,
Environment source)
Indicates the Environment has changed as a result of an Agent's action.
|
void |
agentAdded(Agent agent,
Environment source)
Indicates an Agent has been added to the environment and what it
perceives initially.
|
void |
notify(java.lang.String msg)
A simple notification message from an object in the Environment.
|
void notify(java.lang.String msg)
msg
- the message received.void agentAdded(Agent agent, Environment source)
agent
- the Agent just added to the Environment.source
- the Environment to which the agent was added.void agentActed(Agent agent, Action action, Environment source)
agent
- the Agent that performed the Action.action
- the Action the Agent performed.source
- the Environment in which the agent has acted.