Class VTOLAttackSprite
java.lang.Object
megamek.client.ui.swing.boardview.sprite.Sprite
megamek.client.ui.swing.boardview.sprite.VTOLAttackSprite
- All Implemented Interfaces:
ImageObserver
,Comparable<Sprite>
-
Field Summary
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawOnto
(Graphics g, int x, int y, ImageObserver observer) Draws this sprite onto the specified graphics context.boolean
isReady()
Are we ready to draw? By default, checks to see that our buffered image has been created.void
prepare()
Do any necessary preparation.Methods inherited from class megamek.client.ui.swing.boardview.sprite.Sprite
compareTo, drawOnto, equals, getBounds, getSpritePriority, getTooltip, imageUpdate, isHidden, isInside, setHidden, toString
-
Constructor Details
-
VTOLAttackSprite
-
-
Method Details
-
prepare
public void prepare()Description copied from class:Sprite
Do any necessary preparation. This is called after creation, but before drawing, when a device context is ready to draw with. -
isReady
public boolean isReady()Description copied from class:Sprite
Are we ready to draw? By default, checks to see that our buffered image has been created. -
drawOnto
Description copied from class:Sprite
Draws this sprite onto the specified graphics context. -
getEntity
-