Beispiel #1
0
        private void load(TextureStore store)
        {
            string lane = HitObject.Lane == LanedHitLane.Air ? "air" : "ground";

            normalAnimation.AddFrames(new[] { store.Get($"Minion/pippidon_{lane}_0"), store.Get($"Minion/pippidon_{lane}_0") });
            hitAnimation.AddFrame(store.Get($"Minion/pippidon_{lane}_hit"));
        }
Beispiel #2
0
        private void load(TextureStore store, [CanBeNull] DrawableHitObject drawableHitObject)
        {
            var laneStr = "air";

            if (drawableHitObject is IDrawableLanedHit drawableLanedHit)
            {
                laneStr = drawableLanedHit.Lane == LanedHitLane.Air ? "air" : "ground";
            }

            animation.AddFrames(new[] { store.Get($"Minion/pippidon_{laneStr}_0"), store.Get($"Minion/pippidon_{laneStr}_1") });
        }
Beispiel #3
0
 private void load(TextureStore store)
 {
     normalAnimation.AddFrames(new[] { store.Get("MiniBoss/pippidon_boss_0"), store.Get("MiniBoss/pippidon_boss_1") });
     hitAnimation.AddFrames(new[] { store.Get("MiniBoss/pippidon_boss_hurt_0"), store.Get("MiniBoss/pippidon_boss_hurt_1"), store.Get("MiniBoss/pippidon_boss_hurt_2") });
 }
Beispiel #4
0
        private void load(IDrawableLanedHit laned, TextureStore textures)
        {
            var laneStr = laned.Lane == LanedHitLane.Air ? "air" : "ground";

            animation.AddFrames(new[] { textures.Get($"Minion/pippidon_{laneStr}_0"), textures.Get($"Minion/pippidon_{laneStr}_1") });
        }