예제 #1
0
        public Alien_FlyingSaucer(Rectangle position)
            : base(position, 2, 20)
        {
            Image[] imageList = new Image[] {
                Properties.Resources.flyingsaucer1,
                Properties.Resources.flyingsaucer2,
                Properties.Resources.flyingsaucer3,
                Properties.Resources.flyingsaucer4,
            };

            imageAnimation = new ImageAnimation(imageList);
        }
예제 #2
0
        public Alien_Bug(Rectangle position)
            : base(position, 1, 10)
        {
            Image[] imageList = new Image[] {
                Properties.Resources.bug1,
                Properties.Resources.bug2,
                Properties.Resources.bug3,
                Properties.Resources.bug4,
            };

            imageAnimation = new ImageAnimation(imageList);
        }
예제 #3
0
        public Alien_Satellite(Rectangle position)
            : base(position, 3, 30)
        {
            Image[] imageList = new Image[] {
                Properties.Resources.satellite1,
                Properties.Resources.satellite2,
                Properties.Resources.satellite3,
                Properties.Resources.satellite4,
            };

            imageAnimation = new ImageAnimation(imageList);
        }
예제 #4
0
        public Alien_Star(Rectangle position)
            : base(position, 5, 50)
        {
            Image[] imageList = new Image[] {
                Properties.Resources.star1,
                Properties.Resources.star2,
                Properties.Resources.star3,
                Properties.Resources.star4,
            };

            imageAnimation = new ImageAnimation(imageList);
        }
예제 #5
0
        public Alien_SpaceShip(Rectangle position)
            : base(position, 4, 40)
        {
            Image[] imageList = new Image[] {
                Properties.Resources.spaceship1,
                Properties.Resources.spaceship2,
                Properties.Resources.spaceship3,
                Properties.Resources.spaceship4,
            };

            imageAnimation = new ImageAnimation(imageList);
        }