unsw.cse.framescript
Class SimpleTextAgent
java.lang.Object
unsw.cse.mica.agent.DefaultAgent2
unsw.cse.mica.agent.GUIAgent
unsw.cse.framescript.SimpleTextAgent
- All Implemented Interfaces:
- unsw.cse.mica.agent.Agent, unsw.cse.mica.agent.MessageHandler
public class SimpleTextAgent
- extends unsw.cse.mica.agent.GUIAgent
A simple graphical Mica agent that writes/reads textFromUser and
textForUser mobs allowing for conversations with a MicaBot agent
across a blackboard.
- Author:
- mmcgill
Fields inherited from class unsw.cse.mica.agent.GUIAgent |
frame |
Fields inherited from class unsw.cse.mica.agent.DefaultAgent2 |
at, PARAM_NAME, types |
Method Summary |
void |
createComponents(unsw.cse.mica.util.MicaProperties args)
|
void |
handleNewMob(unsw.cse.mica.data.Mob m)
|
void |
init(unsw.cse.mica.util.MicaProperties mp)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class unsw.cse.mica.agent.GUIAgent |
terminate |
Methods inherited from class unsw.cse.mica.agent.DefaultAgent2 |
getTransport, handleDeletedMob, handleReplacedMob, handleTypeManagerChanged, isATypeOf, setTransport |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTextAgent
public SimpleTextAgent()
init
public void init(unsw.cse.mica.util.MicaProperties mp)
throws unsw.cse.mica.MicaException
- Specified by:
init
in interface unsw.cse.mica.agent.Agent
- Overrides:
init
in class unsw.cse.mica.agent.GUIAgent
- Throws:
unsw.cse.mica.MicaException
handleNewMob
public void handleNewMob(unsw.cse.mica.data.Mob m)
- Specified by:
handleNewMob
in interface unsw.cse.mica.agent.MessageHandler
- Overrides:
handleNewMob
in class unsw.cse.mica.agent.DefaultAgent2
main
public static void main(java.lang.String[] args)
throws unsw.cse.mica.MicaException
- Throws:
unsw.cse.mica.MicaException
createComponents
public void createComponents(unsw.cse.mica.util.MicaProperties args)
throws unsw.cse.mica.MicaException
- Specified by:
createComponents
in class unsw.cse.mica.agent.GUIAgent
- Throws:
unsw.cse.mica.MicaException