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