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