public PassiveTree(Gamecontroller gc) { InitializeComponent(); this.gc = gc; SetAllLabels(); OpenAlreadyAllocated(); }
public TheGame(Playerstats gotplayer) { InitializeComponent(); this.DoubleBuffered = true; gc = new Gamecontroller(this); CreateWorld(); gc.CalculatePlayerHp(); gc.Player = gotplayer; gc.Playerhp = gc.Player.Hp; gc.HaeInventory(); UpdateStyles(); UpdateUi(); gc.PassiveTree1 = new PassiveTree(gc); }