com.arca.std.utils.timer.TimeAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arca-std Show documentation
Show all versions of arca-std Show documentation
A module filled with standard functionalities for the Arca framework
package com.arca.std.utils.timer;
import java.util.ArrayList;
public class TimeAction extends Timer {
/*========================
////FIELDS & CONSTANTS////
========================*/
private ArrayList mTimeLines;
/*========================
///////CONSTRUCTORS///////
========================*/
public TimeAction(float pDuration) {
super(pDuration);
}
/*=======================
//////////METHODS////////
=======================*/
@Override
protected void onUpdatedProgress(float pProgress) {
super.onUpdatedProgress(pProgress);
for (TimeLine timeLine : mTimeLines) {
timeLine.setProgress(pProgress);
}
}
/*========================
////GETTERS & SETTERS////
========================*/
public ArrayList getTimeLines() {
return mTimeLines;
}
/*========================
/////NESTED CLASSES////////
========================*/
}