public void CheckInitializeRockImage() { if (!rockAnimImgInitilized) { RockAnimationSequence = new ImageSequenceHelper(MyRockViewModel.SetRockImage()); rockAnimImgInitilized = true; } }
public void PlayRockImgSequence() { CheckInitializeRockImage(); if (playerReached) { RockAnimationSequence.PlayFromStart(); } else { MyRockViewModel.ChangeRockShapeToSpotlight(); } }
public void DrawRockShapeWrtTrainSeq(int maxSeqNo) { if (TrainingSeq == 1) { MyRockViewModel.ChangeRockShapeToStart(); } else if (TrainingSeq == maxSeqNo) { MyRockViewModel.ChangeRockShapeToEnd(); } else { MyRockViewModel.ChangeRockShapeToIntermediate(); } }
public void DrawRockShapeWrtBoulderStatus() { switch (BoulderStatus) { case RockOnBoulderStatus.Start: MyRockViewModel.ChangeRockShapeToStart(); break; case RockOnBoulderStatus.Int: default: MyRockViewModel.ChangeRockShapeToIntermediate(); break; case RockOnBoulderStatus.End: MyRockViewModel.ChangeRockShapeToEnd(); break; } }
public void UndrawRockTrainingSeq() { MyRockViewModel.UndrawSequenceRockOnCanvas(); }
public void SetRockTrainingSeqAndDraw(int seqNo, bool mirrorSeqNo = false) { TrainingSeq = seqNo; MyRockViewModel.DrawSequenceRockOnCanvas(seqNo, mirrorSeqNo); }
public void ResetRockSpotlightFX() { playerReached = false; MyRockViewModel.ChangeRockShapeToSpotlight(); }