public class SuperSimpleMind
extends java.lang.Object
| Constructor | Description |
|---|---|
SuperSimpleMind(SuperSimpleMindConnector connector) |
creates a new super simple mind
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAgentName() |
returns the name of the agent
|
boolean |
isSleeping() |
returns whether the mind is sleeping or not
|
void |
sendAwake() |
this is called to awake the mind
|
void |
sendCancel(MindAction a) |
notify the mind of an action cancellation
|
void |
sendEntityAdded(java.lang.String entityName) |
the mind processes added entities in this function
|
void |
sendEntityRemoved(java.lang.String entityName) |
the mind processes removed entities in this function
|
void |
sendFailure(MindAction a) |
notify the mind of an action failure
|
void |
sendPropertyChanged(java.lang.String entityName,
java.lang.String propertyName,
java.lang.String propertyValue) |
the mind processes changed properties in this function
|
void |
sendPropertyRemoved(java.lang.String entityName,
java.lang.String propertyName) |
the mind processes removed properties in this function
|
void |
sendRemoteAction(MindAction remoteAction) |
the mind processes remote actions (actions of other agents / users) in this function
|
void |
sendSleep() |
send the mind to sleep
|
void |
sendSuccess(MindAction a) |
notify the mind of an action success
|
public SuperSimpleMind(SuperSimpleMindConnector connector)
public java.lang.String getAgentName()
public void sendAwake()
public void sendFailure(MindAction a)
public void sendSuccess(MindAction a)
public void sendCancel(MindAction a)
public void sendSleep()
public void sendRemoteAction(MindAction remoteAction)
public boolean isSleeping()
public void sendEntityAdded(java.lang.String entityName)
public void sendEntityRemoved(java.lang.String entityName)
public void sendPropertyChanged(java.lang.String entityName,
java.lang.String propertyName,
java.lang.String propertyValue)
public void sendPropertyRemoved(java.lang.String entityName,
java.lang.String propertyName)