示例#1
0
 public IRXModel ExecuteContinuous(FrostRX.RXFunc f, float t)
 {
     model = new RXContinuousModel(f, t);
     model.SetRxId(rxId);
     return(model);
 }
示例#2
0
 public IRXModel ExecuteWhenStay(FrostRX.RXFunc f, FrostRX.CondFunc con, float t)
 {
     model = new RXStayModel(f, con, t);
     model.SetRxId(rxId);
     return(model);
 }
示例#3
0
 public IRXModel Execute(FrostRX.RXFunc f)
 {
     model = new RXExecuteModel(f);
     model.SetRxId(rxId);
     return(model);
 }
示例#4
0
 public IRXModel ExecuteUntil(FrostRX.RXFunc f, FrostRX.CondFunc con)
 {
     model = new RXUntilModel(f, con);
     model.SetRxId(rxId);
     return(model);
 }
示例#5
0
 public IRXModel ExecuteAfterTime(FrostRX.RXFunc f, float t)
 {
     model = new RXTimeModel(f, t);
     model.SetRxId(rxId);
     return(model);
 }
示例#6
0
 public IRXModel Wait(float time)
 {
     model = new RXWaitModel(time);
     model.SetRxId(rxId);
     return(model);
 }
示例#7
0
 public IRXModel GoToBegin()
 {
     model = new RXGoToBegin();
     model.SetRxId(rxId);
     return(model);
 }
示例#8
0
 public IRXModel AlphaFade(Object graphics, float targetAlpha, float speed)
 {
     model = new RXAlphaFadeModel(graphics, targetAlpha, speed);
     model.SetRxId(rxId);
     return(model);
 }