Exemplo n.º 1
0
 private void SendViewData(MyView v)
 {
     v.AddLabel(ScoreLabel);
     v.AddSpeedOfAddingPointsLabel(SpeedOfAddingPointsLabel);
     v.AddClickPointAddLabel(ClickPointAddLabel);
     // improvmenets
     v.AddButtons(Improvement1Button, Improvement2Button, Improvement3Button, Improvement4Button, Improvement5Button, Improvement6Button);
     v.AddImprovementsLevelsLabels(Improvement1Label, Improvement2Label, Improvement3Label, Improvement4Label, Improvement5Label, Improvement6Label, DoubleClickerLabel, DoublePointerLabel);
     v.AddInfoLabels(Info1Label, Info2Label, Info3Label, Info4Label, Info5Label, Info6Label);
     v.AddImprovementImages(improvement1Image, improvement2Image, improvement3Image, improvement4Image, improvement5Image, improvement6Image);
     v.SetButtonsTexts(controller.BasicImprovements[0].StartingPrice,
                       controller.BasicImprovements[1].StartingPrice,
                       controller.BasicImprovements[2].StartingPrice,
                       controller.BasicImprovements[3].StartingPrice,
                       controller.BasicImprovements[4].StartingPrice,
                       controller.BasicImprovements[5].StartingPrice);
     // double clicker + double pointer
     v.AddButtons(BonusImprovement1Button);
     v.AddButtons(BonusImprovement2Button);
 }