public class AnimatedWinPane extends WinPane
WinPane
that configures all turtles to have animated move-turn
actions.Modifier and Type | Class and Description |
---|---|
static class |
AnimatedWinPane.AnimationSpeed
Animation speeds.
|
JPAZ_DEFAULT_TITLE
referenceIdentification
Constructor and Description |
---|
AnimatedWinPane() |
Modifier and Type | Method and Description |
---|---|
void |
add(PaneObject o)
Adds the new pane object (Pane, Turtle, etc.) on the pane.
|
AnimatedWinPane.AnimationSpeed |
getAnimationSpeed()
Returns the animation speed.
|
void |
setAnimationSpeed(AnimatedWinPane.AnimationSpeed animationSpeed)
Sets the animation speed of move-turn operations.
|
getPane, getTitle, invalidate, isResizable, paintToPaneGraphics, resize, setPane, setPosition, setResizable, setRotation, setTitle
bringToBack, bringToBackOf, bringToFront, bringToFrontOf, canClick, clear, containsPoint, draw, fill, getBackgroundColor, getBorderColor, getBorderWidth, getCenter, getHeight, getKeyRepeatPeriod, getKeyRepeatPeriod, getObjectCount, getPane, getPaneCount, getPaneObject, getPaneObjects, getPanes, getPosition, getRotation, getTickPeriod, getTransparency, getTurtle, getTurtleCount, getTurtles, getWidth, getX, getXCenter, getY, getYCenter, isAntialiased, isMouseTransparent, isTransparentBackground, isTurtleCentering, onCanClick, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseMoved, onMousePressed, onMouseReleased, onTick, remove, savePicture, setAntialiased, setBackgroundColor, setBorderColor, setBorderWidth, setCenter, setCenter, setHeight, setKeyRepeatPeriod, setKeyRepeatPeriod, setMouseTransparent, setPosition, setTickPeriod, setTransparency, setTransparentBackground, setTurtleCentering, setWidth, setX, setXCenter, setY, setYCenter, toString
public void add(PaneObject o)
Pane
public AnimatedWinPane.AnimationSpeed getAnimationSpeed()
public void setAnimationSpeed(AnimatedWinPane.AnimationSpeed animationSpeed)
animationSpeed
- the speed of animations.Copyright © 2017. All rights reserved.