Class TileAnimation
java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.TileAnimation
- All Implemented Interfaces:
ITileAnimation
public class TileAnimation
extends java.lang.Object
implements ITileAnimation
Constructor Summary
Constructors Constructor Description TileAnimation()
Method Summary
Modifier and Type Method Description ITileAnimationFrame
getCurrentFrame()
java.util.List<ITileAnimationFrame>
getFrames()
int
getTotalDuration()
Constructor Details
TileAnimation
public TileAnimation()
Method Details
getFrames
- Specified by:
getFrames
in interfaceITileAnimation
getTotalDuration
public int getTotalDuration()- Specified by:
getTotalDuration
in interfaceITileAnimation
getCurrentFrame
- Specified by:
getCurrentFrame
in interfaceITileAnimation