Пример #1
0
        public Block GetBlockById(byte blockId)
        {
            Block block = null;

            if (blockId == 63) block = new CustomStandingSign(_gameManager);
            if (blockId == 68) block = new CustomWallSign(_gameManager);

            return block;
        }
Пример #2
0
        public Block GetBlockById(byte blockId)
        {
            Block block = null;

            if (blockId == 63)
            {
                block = new CustomStandingSign(_gameManager);
            }
            if (blockId == 68)
            {
                block = new CustomWallSign(_gameManager);
            }

            return(block);
        }