standup.clouds
Class EntityImageStatic

java.lang.Object
  extended by standup.clouds.EntityImageStatic
All Implemented Interfaces:
Entity

public class EntityImageStatic
extends Object
implements Entity


Field Summary
private  Dimension dimension
           
private  BufferedImage img
           
private  Point location
           
 
Constructor Summary
EntityImageStatic(BufferedImage i, Point p, Dimension d)
           
 
Method Summary
 void draw(Graphics2D g2)
           
 Dimension getCurrentDimension()
           
 Point getCurrentLocation()
           
(package private) static EntityImageStatic getTalkingHead(int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

img

private final BufferedImage img

location

private final Point location

dimension

private final Dimension dimension
Constructor Detail

EntityImageStatic

public EntityImageStatic(BufferedImage i,
                         Point p,
                         Dimension d)
Method Detail

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)