public class DebrisPiece extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected float |
angVel |
static float |
CELL_SIZE |
protected float |
facing |
protected FaderUtil |
fader |
protected DebrisFieldTerrainPlugin |
field |
protected SpriteAPI |
glow |
protected FaderUtil |
glowBounce |
protected FaderUtil |
glowFader |
protected float |
height |
protected FaderUtil |
indFader |
protected org.lwjgl.util.vector.Vector2f |
loc |
protected float |
radius |
protected SpriteAPI |
shadowMask |
protected SpriteAPI |
sprite |
protected float |
timeLeft |
protected org.lwjgl.util.vector.Vector2f |
vel |
protected float |
width |
| Constructor and Description |
|---|
DebrisPiece(DebrisFieldTerrainPlugin field) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float days) |
FaderUtil |
getGlowFader() |
boolean |
hasIndicator() |
boolean |
isDone() |
void |
render(float alphaMult) |
void |
renderIndicator(float alphaMult) |
void |
showIndicator() |
public static final float CELL_SIZE
protected SpriteAPI shadowMask
protected float width
protected float height
protected float radius
protected DebrisFieldTerrainPlugin field
protected org.lwjgl.util.vector.Vector2f loc
protected org.lwjgl.util.vector.Vector2f vel
protected float timeLeft
protected float facing
protected float angVel
protected FaderUtil glowBounce
public DebrisPiece(DebrisFieldTerrainPlugin field)
public void render(float alphaMult)
public void renderIndicator(float alphaMult)
public void advance(float days)
public void showIndicator()
public boolean hasIndicator()
public boolean isDone()
public FaderUtil getGlowFader()