standup.clouds
Class EntityImageStatic
java.lang.Object
standup.clouds.EntityImageStatic
- All Implemented Interfaces:
- Entity
public class EntityImageStatic
- extends Object
- implements Entity
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
img
private final BufferedImage img
location
private final Point location
dimension
private final Dimension dimension
EntityImageStatic
public EntityImageStatic(BufferedImage i,
Point p,
Dimension d)
draw
public void draw(Graphics2D g2)
- Specified by:
draw
in interface Entity
getCurrentLocation
public Point getCurrentLocation()
- Specified by:
getCurrentLocation
in interface Entity
getCurrentDimension
public Dimension getCurrentDimension()
- Specified by:
getCurrentDimension
in interface Entity
getTalkingHead
static EntityImageStatic getTalkingHead(int height)