public class GenericFieldItemSprite extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected float |
angVel |
protected SectorEntityToken |
entity |
protected float |
facing |
protected FaderUtil |
fader |
protected SpriteAPI |
glow |
protected float |
height |
protected org.lwjgl.util.vector.Vector2f |
loc |
protected SpriteAPI |
shadowMask |
protected SpriteAPI |
sprite |
protected float |
timeLeft |
protected org.lwjgl.util.vector.Vector2f |
vel |
protected float |
width |
| Constructor and Description |
|---|
GenericFieldItemSprite(SectorEntityToken entity,
java.lang.String category,
java.lang.String key,
float cellSize,
float size,
float spawnRadius) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float days) |
boolean |
isDone() |
void |
render(float alphaMult) |
protected SpriteAPI shadowMask
protected float width
protected float height
protected SectorEntityToken entity
protected org.lwjgl.util.vector.Vector2f loc
protected org.lwjgl.util.vector.Vector2f vel
protected float timeLeft
protected float facing
protected float angVel
public GenericFieldItemSprite(SectorEntityToken entity, java.lang.String category, java.lang.String key, float cellSize, float size, float spawnRadius)