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>

public class VTOLAttackSprite extends Sprite
  • Constructor Details

    • VTOLAttackSprite

      public VTOLAttackSprite(BoardView boardView, Entity en)
  • 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.
      Specified by:
      prepare in class Sprite
    • 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.
      Overrides:
      isReady in class Sprite
    • drawOnto

      public void drawOnto(Graphics g, int x, int y, ImageObserver observer)
      Description copied from class: Sprite
      Draws this sprite onto the specified graphics context.
      Overrides:
      drawOnto in class Sprite
    • getEntity

      public Entity getEntity()