Exemplo n.º 1
0
 public override void Init()
 {
     scroll = new ScrollbarWidget(game);
     RecreateElements();
     Reposition();
     SetBlockTo(game.Inventory.Selected);
     Recreate();
 }
Exemplo 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();
 }