internal void LoadContent(ContentManager Content)
        {
            animationSequence = new CelAnimationSequence(Content.Load<Texture2D>("blackelmer_standing"), 74, 1 / 4f);

            celAnimationPlayer = new CelAnimationPlayer();
            celAnimationPlayer.Play(animationSequence);
        }
Пример #2
0
        internal void LoadContent(ContentManager Content)
        {
            idleSequence = new CelAnimationSequence(Content.Load<Texture2D>("blackelmer_standing"), 74, 1 / 4f);
            walkSequence = new CelAnimationSequence(Content.Load<Texture2D>("blackelmer_walking"), 68, 1 / 8f);
            jumpSequence = new CelAnimationSequence(Content.Load<Texture2D>("blackelmer_jumping2"), 85, 1 / 8f);

            celAnimationPlayer = new CelAnimationPlayer();
            celAnimationPlayer.Play(idleSequence);
        }