rl.leviathan.client.ui
Class CapitalShipMissileSprite
java.lang.Object
rl.client.ui.Sprite
rl.client.ui.HexGameElementSprite
rl.leviathan.client.ui.CapitalShipMissileSprite
- All Implemented Interfaces:
- java.awt.image.ImageObserver
public class CapitalShipMissileSprite
- extends HexGameElementSprite
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
|
Method Summary |
protected java.awt.Image |
drawContent(java.awt.Graphics2D graph,
java.awt.Image tempImage,
java.awt.Rectangle bounds)
|
java.awt.Rectangle |
getBounds()
Returns our bounding rectangle. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CapitalShipMissileSprite
public CapitalShipMissileSprite(javax.swing.JComponent parent,
CapitalShipMissile missile,
CapitalShipMissileLocation location,
Theme theme,
HexGrid hexGrid,
Affiliation aff)
drawContent
protected java.awt.Image drawContent(java.awt.Graphics2D graph,
java.awt.Image tempImage,
java.awt.Rectangle bounds)
- Overrides:
drawContent in class HexGameElementSprite
getBounds
public java.awt.Rectangle getBounds()
- Description copied from class:
Sprite
- Returns our bounding rectangle. The coordinates here are stored
with the top left corner of the _board_ being 0, 0, so these do
not always correspond to screen coordinates.
- Overrides:
getBounds in class HexGameElementSprite