Esempio n. 1
0
 public override ActionInstant Reverse()
 {
     ActionInstant[] aList = new ActionInstant[actions.Length];
     for (int i = 0; i < actions.Length; i++)
     {
         aList[i] = actions[i].Reverse();
     }
     return(new ActionRandom(aList));
 }
Esempio n. 2
0
 public override ActionInstant Clone()
 {
     ActionInstant[] aList = new ActionInstant[actions.Length];
     for (int i = 0; i < actions.Length; i++)
     {
         aList[i] = actions[i].Clone();
     }
     return(new ActionSequence(aList));
 }
Esempio n. 3
0
 public ActionRandom(ActionInstant action1, ActionInstant action2)
     : base(0)
 {
     actions = new ActionInstant[] { action1, action2 };
 }
Esempio n. 4
0
 public ActionSequence(ActionInstant action1, ActionInstant action2)
     : base(0)
 {
     actions = new ActionInstant[] { action1, action2 };
 }
Esempio n. 5
0
 public ActionParallel(ActionInstant action1, ActionInstant action2)
     : base(0)
 {
     actions = new ActionInstant[] { action1, action2 };
 }