Class DestructionParticle
- 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.DestructionParticle
-
public class DestructionParticle extends MovableEntity
A piece of dirt which flies around.- 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 DestructionParticle()
DestructionParticle(byte id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, 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
-
-