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

            scroll = new ScrollbarWidget(game);
            RecreateElements();
            Reposition();
        }
 public override void Init()
 {
     scroll   = new ScrollbarWidget(game);
     itemList = game.SurvInv.ItemList;
     RecreateElements();
     Reposition();
     //SetBlockTo(game.Inventory.Selected);
     Recreate();
 }