public UpgradeMenu()
 {
     myText = "Press J to upgrade your max health to 200 for 3 coins! \nPress K to upgrade your max speed for 5 coins! \nPress L to next level!";
     myFont = FontLibrary.GetFont("Font");
 }
Example #2
0
 public MoneyUI() :
     base(null, new Rectangle())
 {
     myFont = FontLibrary.GetFont("Font");
 }
Example #3
0
 public HealthUI() :
     base(null, new Rectangle())
 {
     myFont   = FontLibrary.GetFont("Font");
     myPlayer = Game1.myObjects.Where(x => x is Player).First() as Player;
 }