コード例 #1
0
ファイル: PassiveTree.cs プロジェクト: Satnzu/RPG_PoE
 public PassiveTree(Gamecontroller gc)
 {
     InitializeComponent();
     this.gc = gc;
     SetAllLabels();
     OpenAlreadyAllocated();
 }
コード例 #2
0
        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);
        }