|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimbad.gui.AgentFollower
class AgentFollower
The AgentFollower class is a helper class for the AgentInspector. It updates cyclically the world view point. in order to follow agent movements.
Field Summary | |
---|---|
(package private) SimpleAgent |
agent
|
(package private) boolean |
changed
|
(package private) boolean |
stopped
|
(package private) java.lang.Thread |
thread
|
(package private) int |
viewPointType
|
(package private) World |
world
|
Constructor Summary | |
---|---|
AgentFollower(World world,
SimpleAgent agent)
|
Method Summary | |
---|---|
protected void |
resume()
|
void |
run()
|
protected void |
setViewPointType(int type)
|
protected void |
suspend()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
World world
SimpleAgent agent
java.lang.Thread thread
boolean stopped
boolean changed
int viewPointType
Constructor Detail |
---|
AgentFollower(World world, SimpleAgent agent)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
protected void setViewPointType(int type)
protected void suspend()
protected void resume()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |