Class DebrisPiece

java.lang.Object
com.fs.starfarer.api.impl.campaign.terrain.DebrisPiece

public class DebrisPiece extends Object
  • Field Details

    • CELL_SIZE

      public static final float CELL_SIZE
      See Also:
    • shadowMask

      protected SpriteAPI shadowMask
    • sprite

      protected SpriteAPI sprite
    • glow

      protected SpriteAPI glow
    • width

      protected float width
    • height

      protected float height
    • radius

      protected float radius
    • field

      protected DebrisFieldTerrainPlugin field
    • loc

      protected org.lwjgl.util.vector.Vector2f loc
    • vel

      protected org.lwjgl.util.vector.Vector2f vel
    • timeLeft

      protected float timeLeft
    • facing

      protected float facing
    • angVel

      protected float angVel
    • fader

      protected FaderUtil fader
    • glowBounce

      protected FaderUtil glowBounce
    • glowFader

      protected FaderUtil glowFader
    • indFader

      protected FaderUtil indFader
  • Constructor Details

  • Method Details

    • render

      public void render(float alphaMult)
    • renderIndicator

      public void renderIndicator(float alphaMult)
    • advance

      public void advance(float days)
    • showIndicator

      public void showIndicator()
    • hasIndicator

      public boolean hasIndicator()
    • isDone

      public boolean isDone()
    • getGlowFader

      public FaderUtil getGlowFader()