コード例 #1
0
 public override void Init()
 {
     scroll = new ScrollbarWidget(game);
     RecreateElements();
     Reposition();
     SetBlockTo(game.Inventory.Selected);
     Recreate();
 }
コード例 #2
0
        public override void Init()
        {
            lastX = Mouse.X; lastY = Mouse.Y;

            scroll = new ScrollbarWidget(game);
            RecreateElements();
            Reposition();
        }
コード例 #3
0
 public override void Init()
 {
     scroll   = new ScrollbarWidget(game);
     itemList = game.SurvInv.ItemList;
     RecreateElements();
     Reposition();
     //SetBlockTo(game.Inventory.Selected);
     Recreate();
 }