Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
turtlekit.kernel.Turtle

Packages that use Turtle
turtlekit.kernel |
turtlekit.simulations.gas |
turtlekit.simulations.gravity |
turtlekit.simulations.hunt |
turtlekit.simulations.soccer |
turtlekit.simulations.termites |
turtlekit.simulations.tests |
turtlekit.simulations.virus |

Uses of Turtle in turtlekit.kernel

Methods in turtlekit.kernel that return Turtle
`Turtle[]` | `TurtleProbe.getTurtles()`
`Turtle[]` | `Patch.getTurtles()` returns the turtles who are on the patch
`Turtle` | `Turtle.getTurtleWithID(int a)` return the Turtle with the specified ID, null if not alive
`Turtle[]` | `Turtle.turtlesAt(int a, int b)` return turtles who are on the patch situated at (a,b) units away
`Turtle[]` | `Turtle.turtlesHere()` return other turtles on the current patch

Methods in turtlekit.kernel with parameters of type Turtle
`void` | `PythonCommandCenter.addTurtle(Turtle t)`
`protected void` | `Launcher.addTurtle(Turtle t)` place a turtle at a random patch
`protected void` | `Launcher.addTurtle(Turtle t, int u, int v)` place a turtle on the patch (u,v).
`int` | `Turtle.createTurtle(Turtle t)` create a turtle at the creator position (xcor,ycor) returns the ID of the new turtle
`void` | `Viewer.paintTurtle(java.awt.Graphics g, Turtle t, int x, int y, int cellS)` In the same way, you can give a special graphic representation of your turtles.

Uses of Turtle in turtlekit.simulations.gas

Subclasses of Turtle in turtlekit.simulations.gas
`class` | `Gas` The turtle "gaz" is only a turtle who needs space !!!

Uses of Turtle in turtlekit.simulations.gravity

Subclasses of Turtle in turtlekit.simulations.gravity
`class` | `BlackHole` the "galaxy" center
`class` | `Star` this turtle turns around the nearer BlackKole.

Constructors in turtlekit.simulations.gravity with parameters of type Turtle
`Star(Turtle[] ts, int rayonMax)`

Uses of Turtle in turtlekit.simulations.hunt

Subclasses of Turtle in turtlekit.simulations.hunt
`class` | `Predator` A Predator
`class` | `Prey` A Prey

Uses of Turtle in turtlekit.simulations.soccer

Subclasses of Turtle in turtlekit.simulations.soccer
`class` | `Ball` the ball
`class` | `BluePlayer` blue player
`class` | `Player` the abstract class that defines the basic behaviors of all turtles who are soccer players
`class` | `RedPlayer` red player

Methods in turtlekit.simulations.soccer with parameters of type Turtle
`void` | `SoccerViewer.paintTurtle(java.awt.Graphics g, Turtle t, int x, int y, int cellSize)`

Uses of Turtle in turtlekit.simulations.termites

Subclasses of Turtle in turtlekit.simulations.termites
`class` | `Termite` Termite

Uses of Turtle in turtlekit.simulations.tests

Subclasses of Turtle in turtlekit.simulations.tests
`class` | `Creator` Turtles who create other kind of turtle during simulation and die after a countdown
`class` | `Mosquito` a turtle for a turtle command test
`class` | `Ovni` a turtle for a graphic test
`class` | `Walker` the only thing is to walk and change color

Methods in turtlekit.simulations.tests with parameters of type Turtle
`void` | `SpecialViewer.paintTurtle(java.awt.Graphics g, Turtle t, int x, int y, int cellSize)`

Uses of Turtle in turtlekit.simulations.virus

Subclasses of Turtle in turtlekit.simulations.virus
`class` | `Virus` An infected turtle transmits virus by sending a real agent message to the turtles who cross its way
`class` | `Virus2` An infected turtle transmits virus, but not by sending a message, just by changing the color of the turtles who cross its way

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.