示例#1
0
        private void DrawCaveArt(BlockSelection blockSel, IBlockAccessor blockAccessor, IPlayer byPlayer)
        {
            int   toolMode     = GetToolMode(null, byPlayer, blockSel);
            Block blockToPlace = (Block)toolModes[toolMode].Data;

            blockAccessor.SetDecor(blockToPlace, blockSel.Position, BlockSelectionToSubPosition(blockSel));
        }