Exemple #1
0
        public void Cylinder(Player player, Pattern pattern, int radiusX, int height = 0, int radiusZ = 0, bool filled = true)
        {
            if (height == 0)
            {
                height = 1;
            }
            if (radiusZ == 0)
            {
                radiusZ = radiusX;
            }

            EditSession.MakeCylinder((BlockCoordinates)player.KnownPosition, pattern, radiusX, radiusZ, height, filled);
        }