/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (FinalGame game = new FinalGame()) { game.Run(); } }
public CombatGUI(ref FinalGame.Classes.Character.Player p1, int floorNumber) { InitializeComponent(); this.p1 = p1; this.floorNumber = floorNumber; BossFloor = floorNumber % 5 == 0; generateMonster(); generateBack(); }
public inGame(ref FinalGame.Classes.Character.Player p1) { InitializeComponent(); playerStats.DataContext = p1; HP_XP.DataContext = p1; unUsedTalentPoints.DataContext = p1; charName.DataContext = p1; GoldAmount.DataContext = p1; armorBox.ItemsSource = p1.armorInventory; weaponBox.ItemsSource = p1.weaponInventory; consumeBox.ItemsSource = p1.itemInventory; }