Package org.eclipse.nebula.widgets.tiles
Class TileAnimationSettings
java.lang.Object
org.eclipse.nebula.widgets.tiles.TileAnimationSettings
public class TileAnimationSettings
extends java.lang.Object
This class encapsulates settings for the animation
-
Constructor Summary
Constructors Constructor Description TileAnimationSettings(int fps, int duration)
Creates a new instance -
Method Summary
Modifier and Type Method Description protected int
getDelta()
Returns the milliseconds per frameint
getDuration()
Returns the duration in millisecondsint
getFPS()
Returns the frames per second
-
Constructor Details
-
TileAnimationSettings
public TileAnimationSettings(int fps, int duration)Creates a new instance- Parameters:
fps
-duration
-
-
-
Method Details
-
getDuration
public int getDuration()Returns the duration in milliseconds- Returns:
-
getFPS
public int getFPS()Returns the frames per second- Returns:
-
getDelta
protected int getDelta()Returns the milliseconds per frame- Returns:
-