Esempio n. 1
0
 public void AddAction(SamActionDelegate action)
 {
     actionList.AddLast(new SamAction(0f, action));
 }
Esempio n. 2
0
 public SamAction(SamActionDelegate onStart, SamActionDelegate onFinish = null) : this(0f, onStart, onFinish)
 {
 }
Esempio n. 3
0
 public SamAction(float length, SamActionDelegate onStart = null, SamActionDelegate onFinish = null) : this()
 {
     this.Length   = length;
     this.OnStart  = onStart;
     this.OnFinish = onFinish;
 }
Esempio n. 4
0
 public WaitForAction(SamActionWaitForDelegate waitFor, SamActionDelegate onStart = null, SamActionDelegate onFinish = null) : base()
 {
     this.WaitFor  = waitFor;
     this.OnStart  = onStart;
     this.OnFinish = onFinish;
 }