示例#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);
        }