Package | Description |
---|---|
sk.upjs.jpaz2 | |
sk.upjs.jpaz2.animators | |
sk.upjs.jpaz2.theater |
Modifier and Type | Method and Description |
---|---|
Turtle |
Pane.getTurtle(int index)
Gets the turtle associated with the specified index.
|
Turtle[] |
Pane.getTurtles()
Gets an array of turtles currently living in this pane.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TurtleShape.isPointOfShape(Turtle t,
double x,
double y)
Returns whether a given point is internal point of current turtle's
shape.
|
boolean |
ImageShape.isPointOfShape(Turtle t,
double x,
double y) |
boolean |
DefaultTurtleShape.isPointOfShape(Turtle t,
double x,
double y) |
void |
TurtleShape.paintTurtle(Turtle t,
Graphics2D g)
Paints the turtle shape.
|
void |
ImageShape.paintTurtle(Turtle t,
Graphics2D g)
Paints shape of a turtle to a given graphics.
|
void |
DefaultTurtleShape.paintTurtle(Turtle t,
Graphics2D g) |
Constructor and Description |
---|
TurtleMoveAnimator(Turtle turtle,
Point2D... points)
Constructs the move animator for a turtle along a path defined by given
set of points.
|
TurtleTurnAnimator(Turtle turtle,
double startDirection,
double endDirection,
boolean clockwise)
Constructs turn animator.
|
Modifier and Type | Class and Description |
---|---|
class |
Actor
Represents an actor that can appear and play in a scene.
|
Copyright © 2017. All rights reserved.