|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Watcher
turtlekit.kernel.Observer
turtlekit.kernel.Viewer
turtlekit.simulations.soccer.SoccerViewer
public class SoccerViewer
SoccerViewer changes the turtle display to obtain a tiny player insteed of a rect,
| Field Summary |
|---|
| Fields inherited from class turtlekit.kernel.Observer |
|---|
envHeight, envWidth, patchGrid |
| Constructor Summary | |
|---|---|
SoccerViewer()
|
|
| Method Summary | |
|---|---|
void |
paintTurtle(java.awt.Graphics g,
Turtle t,
int x,
int y,
int cellSize)
In the same way, you can give a special graphic representation of your turtles. |
| Methods inherited from class turtlekit.kernel.Viewer |
|---|
display, getFlash, getFlashStepSize, getRedrawAll, getShow, initGUI, paintPatch, setFlash, setFlashStepSize, setRedrawAll, setShow, setup |
| Methods inherited from class turtlekit.kernel.Observer |
|---|
activate, getSimulationGroup, watch |
| Methods inherited from class madkit.kernel.Watcher |
|---|
addProbe, addProbe, end, getProbes, removeAllProbes, removeProbe, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoccerViewer()
| Method Detail |
|---|
public void paintTurtle(java.awt.Graphics g,
Turtle t,
int x,
int y,
int cellSize)
Viewer
paintTurtle in class Viewer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||