public class PropAnimationController<T extends Prop> extends EntityAnimationController<T>
EntityAnimationController.AnimationRule<T extends IEntity>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_IDENTIFIER |
| Constructor and Description |
|---|
PropAnimationController(T prop) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
getCurrentSprite() |
static java.lang.String |
getSpriteName(Prop prop,
boolean appendState) |
static java.lang.String |
getSpriteName(Prop prop,
PropState state,
boolean appendState) |
boolean |
isAutoScaling() |
void |
update()
This method is called by the game loop on all objects that are attached to the loop.
|
addRule, addRule, getDefaultSpritePrefixes, getEntity, getSpritePrefix, scaleSprite, scaleSprite, setAutoScaling, setSpritePrefixadd, add, addListener, attach, buildCurrentCacheKey, clear, detach, get, getAffineTransform, getAll, getCurrent, getCurrentSprite, getDefault, getImageEffects, hasAnimation, isEnabled, isPlaying, play, remove, remove, removeListener, setAffineTransform, setDefault, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, addListener, clear, get, getAffineTransform, getAll, getCurrent, getCurrentSprite, getDefault, getImageEffects, hasAnimation, isEnabled, isPlaying, play, remove, remove, removeListener, setAffineTransform, setDefault, setEnabledattach, detachpublic static final java.lang.String PROP_IDENTIFIER
public PropAnimationController(T prop)
public java.awt.image.BufferedImage getCurrentSprite()
getCurrentSprite in interface IAnimationControllergetCurrentSprite in class AnimationControllerpublic void update()
IUpdateableClientConfiguration.update in interface IUpdateableupdate in class EntityAnimationController<T extends Prop>ClientConfiguration.setMaxFps(int)public boolean isAutoScaling()
isAutoScaling in interface IEntityAnimationController<T extends Prop>isAutoScaling in class EntityAnimationController<T extends Prop>public static java.lang.String getSpriteName(Prop prop, boolean appendState)