public Countdown(float maxTime, NoParameterDel method, NoParameterDel updateMethod) { this.maxTime = maxTime; this.method = method; this.updateMethod = updateMethod; IsOver = true; }
public Countdown(float maxTime, NoParameterDel method, NoParameterDel updateMethod, float targetPer, NoParameterDel perMethod) { this.perMethod = perMethod; this.maxTime = maxTime; this.targetPer = targetPer; this.method = method; this.updateMethod = updateMethod; IsOver = true; }