public RXStayModel(FrostRX.RXFunc f, FrostRX.CondFunc c, float t) { this.func = f; this.cond = c; time = t; this._time = time; }
public IRXModel ExecuteContinuous(FrostRX.RXFunc f, float t) { model = new RXContinuousModel(f, t); model.SetRxId(rxId); return(model); }
public IRXModel Execute(FrostRX.RXFunc f) { model = new RXExecuteModel(f); model.SetRxId(rxId); return(model); }
public IRXModel ExecuteWhenStay(FrostRX.RXFunc f, FrostRX.CondFunc con, float t) { model = new RXStayModel(f, con, t); model.SetRxId(rxId); return(model); }
public IRXModel ExecuteUntil(FrostRX.RXFunc f, FrostRX.CondFunc con) { model = new RXUntilModel(f, con); model.SetRxId(rxId); return(model); }
public IRXModel ExecuteAfterTime(FrostRX.RXFunc f, float t) { model = new RXTimeModel(f, t); model.SetRxId(rxId); return(model); }
public RXContinuousModel(FrostRX.RXFunc f, float t) { func = f; waitTime = time = t; }
public RXExecuteModel(FrostRX.RXFunc f) { func = f; }
public RXUntilModel(FrostRX.RXFunc f, FrostRX.CondFunc c) { func = f; cond = c; }
public RXTimeModel(FrostRX.RXFunc f, float t) { waitTime = t; func = f; time = t; }