games.strategy.triplea.ui.screen
Class Tile
java.lang.Object
games.strategy.triplea.ui.screen.Tile
public class Tile
- extends java.lang.Object
- Author:
- Sean Bridges
|
Constructor Summary |
Tile(java.awt.Rectangle bounds,
int x,
int y,
double scale)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tile
public Tile(java.awt.Rectangle bounds,
int x,
int y,
double scale)
isDirty
public boolean isDirty()
getImage
public java.awt.Image getImage(GameData data,
MapData mapData)
getRawImage
public java.awt.Image getRawImage()
- This image may be null, and it may not reflect our current drawables. Use getImage() to get
a correct image
- Returns:
- the image we currently have.
addDrawables
public void addDrawables(java.util.Collection<IDrawable> drawables)
addDrawable
public void addDrawable(IDrawable d)
removeDrawable
public void removeDrawable(IDrawable d)
removeDrawables
public void removeDrawables(java.util.Collection c)
clear
public void clear()
getDrawables
public java.util.List<IDrawable> getDrawables()
getBounds
public java.awt.Rectangle getBounds()
getX
public int getX()
getY
public int getY()
getLock
public java.util.concurrent.locks.Lock getLock()