예제 #1
0
 public Occurrence Memory <T>(float delay, bool repeatable, ForwardFunc <T> forward, BackwardFunc <T> backward)
 {
     return(Memory(delay, repeatable, new FuncOccurence <T>(forward, backward)));
 }
예제 #2
0
 public Occurrence Schedule <T>(float time, bool repeatable, ForwardFunc <T> forward, BackwardFunc <T> backward)
 {
     return(Schedule(time, repeatable, new FuncOccurence <T>(forward, backward)));
 }
예제 #3
0
 public Occurrence Do <T>(bool repeatable, ForwardFunc <T> forward, BackwardFunc <T> backward)
 {
     return(Do(repeatable, new FuncOccurence <T>(forward, backward)));
 }
 public FuncOccurence(ForwardFunc <T> forward, BackwardFunc <T> backward)
 {
     this.forward  = forward;
     this.backward = backward;
 }