public class PropAnimationController<T extends Prop> extends EntityAnimationController<T>
| Constructor and Description |
|---|
PropAnimationController(T prop) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
getCurrentSprite() |
boolean |
isAutoScaling() |
void |
update()
This method is called by the game loop on all objects that need to update
their attributes.
|
addAnimationRule, getDefaultSpritePrefixes, getEntity, getSpritePrefix, scaleSprite, scaleSprite, setAutoScaling, setSpritePrefixadd, add, attach, buildCurrentCacheKey, detach, getAffineTransform, getAnimation, getAnimations, getCurrentAnimation, getCurrentSprite, getDefaultAnimation, getImageEffects, hasAnimation, isPlaying, onPlayback, onPlaybackEnded, playAnimation, remove, remove, setAffineTransform, setDefaultAnimationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, getAffineTransform, getAnimation, getAnimations, getCurrentAnimation, getCurrentSprite, getDefaultAnimation, getImageEffects, hasAnimation, isPlaying, onPlayback, onPlaybackEnded, playAnimation, remove, remove, setAffineTransform, setDefaultAnimationattach, detachpublic PropAnimationController(T prop)
public java.awt.image.BufferedImage getCurrentSprite()
getCurrentSprite in interface IAnimationControllergetCurrentSprite in class AnimationControllerpublic void update()
IUpdateableupdate in interface IUpdateableupdate in class EntityAnimationController<T extends Prop>public boolean isAutoScaling()
isAutoScaling in interface IEntityAnimationControllerisAutoScaling in class EntityAnimationController<T extends Prop>