Class BenchmarkBall
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.Renderable
-
- com.bombinggames.wurfelengine.core.gameobjects.AbstractGameObject
-
- com.bombinggames.wurfelengine.core.gameobjects.AbstractEntity
-
- com.bombinggames.wurfelengine.core.gameobjects.MovableEntity
-
- com.bombinggames.wurfelengine.core.gameobjects.BenchmarkBall
-
public class BenchmarkBall extends MovableEntity
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.bombinggames.wurfelengine.core.gameobjects.AbstractEntity
colissionRadius
-
Fields inherited from class com.bombinggames.wurfelengine.core.gameobjects.AbstractGameObject
sprite
-
-
Constructor Summary
Constructors Constructor Description BenchmarkBall()
Creates a Benchmark ball.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
jump()
This method should define what happens when the object jumps.void
update(float dt)
Updates the character.-
Methods inherited from class com.bombinggames.wurfelengine.core.gameobjects.AbstractEntity
addComponent, collidesWith, getCollidingEntities, getCollidingEntities, getComponents, getComponents, getCoord, getCoveredBlocks, getDimensionZ, getHealth, getLightlevelB, getLightlevelG, getLightlevelR, getMass, getName, getPoint, getPosition, getRegisteredEntities, getSpriteCategory, getSpriteId, getSpriteValue, hasPosition, heal, isIndestructible, isInMemoryArea, isMarkedDS, isSavedPersistent, markAsVisitedDS, registerEngineEntities, registerEntity, removeComponent, removeFromMap, requestChunk, setDamageSounds, setDimensionZ, setHealth, setIndestructible, setLightlevel, setMass, setName, setPosition, setPosition, setSavePersistent, setSpriteCategory, setSpriteId, setSpriteValue, setUseRawDelta, shouldBeDisposed, takeDamage, useRawDelta
-
Methods inherited from class com.bombinggames.wurfelengine.core.gameobjects.AbstractGameObject
getColor, getDepth, getPixmap, getRotation, getScaling, getSprite, getSprite, getSpritesheet, getSpritesheetPath, getTextureDiffuse, getTextureNormal, isHidden, loadSheet, render, render, setColor, setCustomSpritesheet, setHidden, setRotation, setScaling, shouldBeRendered, staticDispose, updateSpriteCache
-
Methods inherited from class com.bombinggames.wurfelengine.core.gameobjects.MovableEntity
addMovement, addMovement, addMovement, addToHor, collidesWithWorld, dispose, getAiming, getFriction, getMovement, getMovementHor, getOrientation, getSpeed, getSpeedHor, handleMessage, isColiding, isFloating, isInLiquid, isOnCeil, isOnGround, jump, pauseMovementAnimation, playMovementAnimation, setColiding, setContinuousWalkingAnimation, setFallingSound, setFloating, setFriction, setHorMovement, setJumpingSound, setMovement, setMovement, setOrientation, setRunningSound, setSpeedHorizontal, setSpeedIncludingZ, setStepSound1Grass, setWalkingAnimationCycling, setWalkingStepMode, setWaterSound, spawn, step, updateSprite
-
-
-
-
Method Detail
-
update
public void update(float dt)
Description copied from class:MovableEntity
Updates the character. Applies gravitation.- Overrides:
update
in classMovableEntity
- Parameters:
dt
- time since last update in ms
-
jump
public void jump()
Description copied from class:MovableEntity
This method should define what happens when the object jumps. It should call super.jump(int velo)- Overrides:
jump
in classMovableEntity
- See Also:
MovableEntity.jump(float, boolean)
-
-