Class VTOLAttackSprite
java.lang.Object
megamek.client.ui.clientGUI.boardview.sprite.Sprite
megamek.client.ui.clientGUI.boardview.sprite.VTOLAttackSprite
- All Implemented Interfaces:
ImageObserver,Comparable<Sprite>
-
Field Summary
Fields inherited from class megamek.client.ui.clientGUI.boardview.sprite.Sprite
bounds, bv, hidden, imageFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawOnto(Graphics graphics, int x, int y, ImageObserver observer) Draws this sprite onto the specified graphics context.booleanisReady()Are we ready to draw? By default, checks to see that our buffered image has been created.voidprepare()Do any necessary preparation.Methods inherited from class megamek.client.ui.clientGUI.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:SpriteDo 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:SpriteAre we ready to draw? By default, checks to see that our buffered image has been created. -
drawOnto
Description copied from class:SpriteDraws this sprite onto the specified graphics context. -
getEntity
-