void InitTableWidget() { table = new SurvivalTableWidget(game); table.font = font; posAtlas = new TextAtlas(game, 16); posAtlas.Pack("0123456789", font, "f"); table.posAtlas = posAtlas; table.ElementsPerRow = 9; table.Init(); }
void InitTableWidget() { table = new SurvivalTableWidget(game); table.font = font; posAtlas = new TextAtlas(game, 16); posAtlas.Pack("0123456789", font, "f"); table.posAtlas = posAtlas; table.ElementsPerRow = 9; #if !ALPHA if (tableSize == 4) { tableSize = 9; } #endif table.CraftingItems = new Item[tableSize]; table.Init(); }