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();
 }
Пример #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();
        }
        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;
        }
        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;
        }
Пример #5
0
        public override void Initialize()
        {
            getInstance = this;
            base.Initialize();

            sAnim = new SpriteAnimation(9);
            sAnim.addList(0, 25, 25, 0, AnimationType.Delete);
            sAnim.addList(1, 25, 25, 1, AnimationType.Stay);
            sAnim.addList(2, 26, 26, 2, AnimationType.Stay);
            sAnim.addList(3, 27, 27, 3, AnimationType.Stay);
            sAnim.addList(4, 28, 28, 4, AnimationType.Stay);
            sAnim.addList(5, 29, 29, 5, AnimationType.Stay);
            sAnim.addList(6, 30, 30, 6, AnimationType.Stay);
            sAnim.addList(7, 31, 31, 7, AnimationType.Stay);
            sAnim.addList(8, 32, 32, 8, AnimationType.Stay);

            dvx1 = dvx2 = dvy1 = dvy2 = 0;
            manageShoot = new ObjectBase[1];
            manageShoot[0] = new ShootGuard();
            mIndex = 0;
            mMax = 1;
        }
        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;
        }