|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
turtlekit.kernel.Launcher
turtlekit.simulations.gravity.Gravity
public class Gravity
the gravity simulation is far from based on physic consideration. Just some turtles who turn around another special one
| Field Summary |
|---|
| Fields inherited from class turtlekit.kernel.Launcher |
|---|
COMMUNITY |
| Constructor Summary | |
|---|---|
Gravity()
|
|
| Method Summary | |
|---|---|
void |
addSimulationAgents()
Override this method is compulsory (abstract). |
int |
getNbOfPlanet()
|
int |
getNbOfSun()
|
int |
getRayonMax()
|
void |
setNbOfPlanet(int add)
|
void |
setNbOfSun(int add)
|
void |
setRayonMax(int add)
|
| Methods inherited from class turtlekit.kernel.Launcher |
|---|
activate, addMyScheduler, addObserver, addObserver, addPatchVariable, addTurtle, addTurtle, addViewer, addViewer, addViewer, addViewer, addViewer, addViewer, end, getCellSize, getHeight, getSimulationName, getWidth, initGUI, initializePatchVariables, launchPython, live, setCellSize, setCyclePause, setHeight, setSimulationName, setWidth, setWrapModeOn, stopOrResumeSimulation |
| Methods inherited from class madkit.kernel.Agent |
|---|
connectAgencyToAgency, createPlace, createPlace, enableMobility, enableMobility, exitImmediatlyOnKill, getAgencyNamed, joinPlace, joinPlace, joinPlace, pause, receiveMessage, run, waitNextMessage, waitNextMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Gravity()
| Method Detail |
|---|
public void setNbOfPlanet(int add)
public int getNbOfPlanet()
public void setNbOfSun(int add)
public int getNbOfSun()
public void setRayonMax(int add)
public int getRayonMax()
public void addSimulationAgents()
Launcher
addSimulationAgents in class Launcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||