Exemplo n.º 1
0
        private string getHitName(TaikoSkinComponents component)
        {
            switch (component)
            {
            case TaikoSkinComponents.TaikoExplosionMiss:
                return("taiko-hit0");

            case TaikoSkinComponents.TaikoExplosionOk:
                return("taiko-hit100");

            case TaikoSkinComponents.TaikoExplosionGreat:
                return("taiko-hit300");
            }

            throw new ArgumentOutOfRangeException(nameof(component), $"Invalid component type: {component}");
        }
Exemplo n.º 2
0
        private string getHitName(TaikoSkinComponents component)
        {
            switch (component)
            {
            case TaikoSkinComponents.TaikoExplosionMiss:
                return("taiko-hit0");

            case TaikoSkinComponents.TaikoExplosionGood:
                return("taiko-hit100");

            case TaikoSkinComponents.TaikoExplosionGoodStrong:
                return("taiko-hit100k");

            case TaikoSkinComponents.TaikoExplosionGreat:
                return("taiko-hit300");

            case TaikoSkinComponents.TaikoExplosionGreatStrong:
                return("taiko-hit300k");
            }

            throw new ArgumentOutOfRangeException(nameof(component), "Invalid result type");
        }
Exemplo n.º 3
0
 public LegacyHit(TaikoSkinComponents component)
 {
     this.component = component;
 }
Exemplo n.º 4
0
        public LegacyHit(TaikoSkinComponents component)
        {
            this.component = component;

            RelativeSizeAxes = Axes.Both;
        }