public class BenchmarkBall extends MovableEntity
GAME_DIAGLENGTH, GAME_DIAGLENGTH2, GAME_EDGELENGTH, GAME_EDGELENGTH2, OBJECTTYPESNUM, SCREEN_DEPTH, SCREEN_DEPTH2, SCREEN_DEPTH4, SCREEN_HEIGHT, SCREEN_HEIGHT2, SCREEN_HEIGHT4, SCREEN_WIDTH, SCREEN_WIDTH2, SCREEN_WIDTH4, VALUESNUM
Constructor and Description |
---|
BenchmarkBall()
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.
|
clone, damage, dispose, getAiming, getFriction, getMana, getMovement, getSpeed, heal, isColiding, isCollectable, isFloating, isIndestructible, isInLiquid, isOnGround, jump, onCollide, render, setColiding, setCollectable, setDamageSounds, setFallingSound, setFloating, setFriction, setIndestructible, setJumpingSound, setLandingSound, setMana, setMovement, setPosition, setRunningSound, setSpeed, setWaterSound, spawn
getCategory, getDimensionZ, getName, getPosition, render, save, setDimensionZ, setHeight, shouldBeDisposed, spawned
getDrawCalls, getHealth, getId, getLightlevel, getPixmap, getRotation, getSprite, getSpriteId, getSprites, getSpritesheet, getValue, increaseDrawCalls, isHidden, isObstacle, isTransparent, loadSheet, render, render, render, render, render, render, resetDrawCalls, setGraphicsId, setHealth, setHidden, setLightlevel, setObstacle, setRotation, setTransparent, setValue, staticDispose, updateStaticUpdates
public void update(float delta)
MovableEntity
update
in class MovableEntity
delta
- time since last update in mspublic void jump()
MovableEntity
jump
in class MovableEntity
MovableEntity.jump(float)