standup.clouds
Class ProgressMapCharacter
java.lang.Object
standup.clouds.ProgressMapCharacter
- All Implemented Interfaces:
- Entity, EntityAnimated
- Direct Known Subclasses:
- ProgressMapCharacterOnly
public class ProgressMapCharacter
- extends Object
- implements EntityAnimated
- Author:
- Ruli Manurung
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
img
final BufferedImage img
road
final List road
steps
final int steps
intervalSize
final int intervalSize
direction
final int direction
points
final Point[] points
currentInterval
int currentInterval
intervalCount
int intervalCount
intervalFrame
int intervalFrame
frame
int frame
currentX
int currentX
currentY
int currentY
ProgressMapCharacter
public ProgressMapCharacter(BufferedImage _img,
List _road,
int roadDirection,
int _steps,
int _direction)
step
public void step(int _frame)
- Specified by:
step
in interface EntityAnimated
getCurrentDimension
public Dimension getCurrentDimension()
- Specified by:
getCurrentDimension
in interface Entity
getCurrentLocation
public Point getCurrentLocation()
- Specified by:
getCurrentLocation
in interface Entity
draw
public void draw(Graphics2D g2)
- Specified by:
draw
in interface Entity
drawPath
void drawPath(Graphics2D g2,
Point from,
Point to)
drawImage
void drawImage(Graphics2D g2)
contains
public boolean contains(int x,
int y)
clicked
public void clicked(CloudFrontend mockup)
scannable
public boolean scannable()
getSpeechText
public String getSpeechText()