Пример #1
0
        public Repeat(FiniteTimeGameTask innerTask, int numberOfRepetitions) : base(innerTask.Target, innerTask.Duration * numberOfRepetitions)
        {
            InnerTask = innerTask;

            RepetitionsToComplete = numberOfRepetitions;
            RepetitionsCompleted  = 0;
        }
Пример #2
0
 public EaseIn(FiniteTimeGameTask innerTask) : base(innerTask)
 {
 }
 public TimeModifyingGameTask(FiniteTimeGameTask innerTask) : base(innerTask.Target, innerTask.Duration)
 {
     InnerTask = innerTask;
 }
Пример #4
0
 public RepeatForever(params FiniteTimeGameTask[] innerTasks) : base(innerTasks[0].Target)
 {
     InnerTask = new Sequence(innerTasks);
 }
Пример #5
0
 public RepeatForever(FiniteTimeGameTask innerTask) : base(innerTask.Target)
 {
     InnerTask = innerTask;
 }