Back to project page androidtbsgame.
The source code is released under:
MIT License
If you think the Android project androidtbsgame listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.mmssb.androidtbsgame.andengine.units; /*from w w w.j a v a2s .c o m*/ /** * @author Manu * */ public class AnimationProperties { private long[] tileDuration; private int startTile; private int endTile; private boolean loop; /** * Creates an instance of {@link AnimationProperties} * * @param tileDuration * the duration for each tile * @param startTile * first tile to show * @param endTile * last tile to show * @param loop * true = loop animation */ public AnimationProperties(long[] tileDuration, int startTile, int endTile, boolean loop) { this.tileDuration = tileDuration; this.startTile = startTile; this.endTile = endTile; this.loop = loop; } public long[] getTileDuration() { return tileDuration; } public void setTileDuration(long[] tileDuration) { this.tileDuration = tileDuration; } public int getStartTile() { return startTile; } public void setStartTile(int startTile) { this.startTile = startTile; } public int getEndTile() { return endTile; } public void setEndTile(int endTile) { this.endTile = endTile; } public boolean isLoop() { return loop; } public void setLoop(boolean loop) { this.loop = loop; } }