public class SimpleEntity extends AbstractEntity
NAMELIST
GAME_DIAGLENGTH, GAME_DIAGLENGTH2, GAME_EDGELENGTH, OBJECTTYPESCOUNT, SCREEN_DEPTH, SCREEN_DEPTH2, SCREEN_DEPTH4, SCREEN_HEIGHT, SCREEN_HEIGHT2, SCREEN_HEIGHT4, SCREEN_WIDTH, SCREEN_WIDTH2, SCREEN_WIDTH4, VALUESCOUNT
Constructor and Description |
---|
SimpleEntity(int id,
Point pos) |
Modifier and Type | Method and Description |
---|---|
void |
update(float delta)
Updates the logic of the object.
|
dispose, exist, getCategory, getDepth, getName, getPos, onGround, setHeight, setPos, shouldBeDisposed
getDimensionZ, getDrawCalls, getId, getLightlevel, getPixmap, getSprite, getSprites, getSpritesheet, getValue, increaseDrawCalls, isClipped, isHidden, isObstacle, isTransparent, loadSheet, prepareColor, render, render, render, render, render, render, render, resetDrawCalls, setClipped, setDimensionZ, setHidden, setLightlevel, setObstacle, setTransparent, setValue, staticDispose, updateStaticUpdates
public SimpleEntity(int id, Point pos)
id
- pos
- public void update(float delta)
AbstractGameObject
update
in class AbstractGameObject
delta
- time since last update