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"); }
public MoneyUI() : base(null, new Rectangle()) { myFont = FontLibrary.GetFont("Font"); }
public HealthUI() : base(null, new Rectangle()) { myFont = FontLibrary.GetFont("Font"); myPlayer = Game1.myObjects.Where(x => x is Player).First() as Player; }