Exemplo n.º 1
0
        public void ApplyToHitObject(HitObject hitObject)
        {
            var osuObject = (OsuHitObject)hitObject;

            switch (Reflection.Value)
            {
            case MirrorType.Horizontal:
                OsuHitObjectGenerationUtils.ReflectHorizontally(osuObject);
                break;

            case MirrorType.Vertical:
                OsuHitObjectGenerationUtils.ReflectVertically(osuObject);
                break;

            case MirrorType.Both:
                OsuHitObjectGenerationUtils.ReflectHorizontally(osuObject);
                OsuHitObjectGenerationUtils.ReflectVertically(osuObject);
                break;
            }
        }
Exemplo n.º 2
0
        public void ApplyToHitObject(HitObject hitObject)
        {
            var osuObject = (OsuHitObject)hitObject;

            OsuHitObjectGenerationUtils.ReflectVertically(osuObject);
        }