예제 #1
0
파일: Movement.cs 프로젝트: timmetry/StepFu
 public Movement(DancePad pad, Options options, Step lastStep)
 {
     this.pad            = pad;
     this.options        = options;
     this.lastStep       = lastStep;
     this.stepType       = StepType.Step;
     this.footType       = (FootType)((int)lastStep.Foot * -1);
     this.possibleArrows = pad.GetActiveArrowLinkedList();
 }
예제 #2
0
 public Step(DancePad pad, bool startOfChart)
 {
     if (startOfChart)
     {
         // start differently and create a couple extra steps to be safe
         Step first  = new Step(pad, false);
         Step second = new Step(pad, false);
         second.prev  = first;
         second.arrow = pad.GetNeutralRightFootArrow();
         second.foot  = FootType.Right;
         this.prev    = second;
         this.arrow   = pad.GetNeutralLeftFootArrow();
         this.foot    = FootType.Left;
         this.type    = StepType.Step;
     }
     else
     {
         this.prev  = null;
         this.arrow = pad.GetNeutralLeftFootArrow();
         this.foot  = FootType.Left;
         this.type  = StepType.Step;
     }
 }