Ejemplo n.º 1
0
        private static void OnDebugLOS(IZone zone, BeamType beamType, Position position, bool aligned)
        {
            if (!Debug)
            {
                return;
            }

            if (aligned)
            {
                zone.CreateAlignedDebugBeam(beamType, zone.FixZ(position));
                return;
            }

            zone.CreateDebugBeam(beamType, position);
        }