Add Action.executesAlways .

This commit is contained in:
asofold 2012-11-09 10:23:47 +01:00
parent 6f41bad624
commit eed05511a6

View File

@ -65,4 +65,14 @@ public abstract class Action {
public boolean needsParameters(){
return false;
}
/**
* Indicates that the action will be executed in any case (delay, repeat).
* executed at all.
*
* @return
*/
public boolean executesAlways() {
return delay == 0 && repeat == 0;
}
}