|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectunsw.cse.mica.agent.DefaultAgent2
unsw.cse.mica.agent.GUIAgent
unsw.cse.mica.tools.MobSpawner
public class MobSpawner
| Field Summary |
|---|
| Fields inherited from class unsw.cse.mica.agent.DefaultAgent2 |
|---|
PARAM_NAME |
| Constructor Summary | |
|---|---|
MobSpawner()
|
|
| Method Summary | |
|---|---|
void |
createComponents(MicaProperties args)
Function that is called in the init method that should be overridden by subclasses. |
void |
init(MicaProperties args)
Connect using the value given for param "name" in the args if the value exists, otherwise use the class name |
static void |
main(java.lang.String[] arg)
|
| Methods inherited from class unsw.cse.mica.agent.GUIAgent |
|---|
terminate |
| Methods inherited from class unsw.cse.mica.agent.DefaultAgent2 |
|---|
getTransport, handleDeletedMob, handleNewMob, handleReplacedMob, handleTypeManagerChanged, isATypeOf, setTransport |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MobSpawner()
| Method Detail |
|---|
public void init(MicaProperties args)
throws MicaException
DefaultAgent2
init in interface Agentinit in class GUIAgentargs - Additional arguments provided to the agent. If the agent is started from with
the 'Runner' tool, the args array contains the values provided from within the runner's
XML configuration file. Otherwise, the exact contents will depend on the calling method.
MicaExceptionpublic void createComponents(MicaProperties args)
GUIAgent
createComponents in class GUIAgentargs - the args passed to the init method
public static void main(java.lang.String[] arg)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||