public class BenchmarkBall extends AbstractMovableEntity
GAME_DIAGLENGTH, GAME_DIAGLENGTH2, GAME_EDGELENGTH, OBJECTTYPESNUM, SCREEN_DEPTH, SCREEN_DEPTH2, SCREEN_DEPTH4, SCREEN_HEIGHT, SCREEN_HEIGHT2, SCREEN_HEIGHT4, SCREEN_WIDTH, SCREEN_WIDTH2, SCREEN_WIDTH4, VALUESNUM
Constructor and Description |
---|
BenchmarkBall(Point point)
Creates a Benchmark ball.
|
Modifier and Type | Method and Description |
---|---|
void |
jump()
This method should define what happens when the object jumps.
|
void |
update(float delta)
Updates the character.
|
damage, dispose, getAiming, getHealt, getMana, getMovement, getSpeed, isColiding, isFloating, isInLiquid, jump, onGround, setColiding, setDamageSounds, setFallingSound, setFloating, setFriction, setJumpingSound, setLandingSound, setMana, setMovement, setRunningSound, setSpeed, setWaterSound
exist, existing, getCategory, getDimensionZ, getName, getPosition, render, setDimensionZ, setHeight, setPosition, shouldBeDisposed
getDrawCalls, getId, getLightlevel, getPixmap, getRotation, getSprite, getSprites, getSpritesheet, getValue, increaseDrawCalls, isClipped, isHidden, isObstacle, isTransparent, loadSheet, prepareColor, render, render, render, render, render, render, render, resetDrawCalls, setClipped, setHidden, setLightlevel, setObstacle, setRotation, setTransparent, setValue, staticDispose, updateStaticUpdates
public BenchmarkBall(Point point)
point
- public void update(float delta)
AbstractMovableEntity
update
in class AbstractMovableEntity
delta
- time since last update in mspublic void jump()
AbstractMovableEntity
jump
in class AbstractMovableEntity
AbstractMovableEntity.jump(float)