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