Constructor and description |
---|
TurtleFactory
(Class<? extends BaseTurtle> turtleType, Collection<Class<? extends BaseTurtle>> turtleTypes) |
TurtleFactory
(Class<? extends BaseTurtle> turtleType) |
Type Params | Return Type | Name and description |
---|---|---|
|
Turtle |
createIdenticalTurtle(Turtle parent) |
|
Turtle |
createIdenticalTurtle(Turtle parent, String childType) |
|
Turtle |
createTurtle() |
|
Turtle |
createTurtle(String turtleType) |
|
Turtle |
createTurtle(NdPoint loc) |
|
Turtle |
createTurtle(String turtleType, NdPoint loc) |
|
Turtle |
createTurtle(double heading) |
|
Turtle |
createTurtle(String turtleType, double heading) |
|
Turtle |
createTurtle(String turtleType, double heading, double color, NdPoint loc) |
|
Map<String, String> |
getDefaultShapeMap() |
|
Class<?> |
getTurtleTypeClass(String turtleType) |
|
void |
init(Observer observer) |
|
void |
setDefaultShape(String typeName, String shapeName) |