public EffectParge()
 {
     px = py = scale = 0.0f;
     sAnim = new SpriteAnimation(2);
     sAnim.addList(0, 40, 40, 0, AnimationType.Delete);
     sAnim.addList(1, 40, 49, 0, AnimationType.Up);
     sAnim.init();
 }
Ejemplo n.º 2
0
        public override void Initialize()
        {
            base.Initialize();

            sAnim = new SpriteAnimation(2);
            sAnim.addList(0, 39, 39, 0, AnimationType.Delete);
            sAnim.addList(1, 39, 39, 1, AnimationType.Stay);
            sAnim.init();
        }
Ejemplo n.º 3
0
        public override void Initialize()
        {
            base.Initialize();

            sAnim = new SpriteAnimation(2);
            sAnim.addList(0, 33, 33, 0, AnimationType.Delete);
            sAnim.addList(1, 33, 36, 1, AnimationType.Up);
            sAnim.init();

            rot = 0.0f;
        }
Ejemplo n.º 4
0
        public override void Initialize()
        {
            px = py = 0;
            length = 32;
            scale = 1.0f;

            sAnim = new SpriteAnimation(2);
            sAnim.addList(0, 11, 11, 0, AnimationType.Delete);
            sAnim.addList(1, 1, 4, 1, AnimationType.Up);
            sAnim.init();

            active = false;
        }
Ejemplo n.º 5
0
        public override void Initialize()
        {
            px = py = 0;
            length = 24;
            scale = 0.75f;

            sAnim = new SpriteAnimation(3);
            sAnim.addList(1, 5, 5, 1, AnimationType.Stay);
            sAnim.addList(2, 5, 11, 0, AnimationType.Up);
            sAnim.addList(0, 11, 11, 0, AnimationType.Delete);
            sAnim.init();

            active = false;
        }
        public virtual void Initialize()
        {
            px = py = vx = vy = 0;
            sAnim = new SpriteAnimation(1);
            sAnim.addList(0, 0, 0, 1, AnimationType.Delete);
            sAnim.init();

            hp = HP_MAX;
            active = false;
        }
        public virtual void Initialize()
        {
            px = py = 0;
            length = 32;
            scale = 1.0f;

            sAnim = new SpriteAnimation(1);
            sAnim.addList(0, 1, 4, 0, AnimationType.Up);
            sAnim.init();

            active = false;
        }