void AddItems()
    {
        if (!isServer)
        {
            for (int i = 0; i < StartInfo.ItemTypes.Length; i++)
            {
                itemTypes.Add(StartInfo.ItemTypes[i]);
                itemCellIndex.Add(StartInfo.ItemCellIndex[i]);
            }
        }

        for (int i = 0; i < itemTypes.Count; i++)
        {
            HexItem item = Instantiate <HexItem>(HexItem.itemPrefab);
            item.itemType = (HexItemType)itemTypes[i];
            grid.AddItem(item, grid.GetCell(itemCellIndex[i]));
        }
    }