Beispiel #1
0
        public static Enemy CreateSeeker3(Vector2 position)
        {
            var enemy3 = new Enemy(GameRoot.Seeker3, position);

            enemy3.AddBehaviour(enemy3.BossMovement());
            enemy3.AddBehaviour(enemy3.BossShoot());
            enemy3.PointValue = 2;
            return(enemy3);
        }
Beispiel #2
0
        public static Enemy CreateSeeker(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.Seeker, position);

            enemy.AddBehaviour(enemy.FollowPlayer());

            return(enemy);
        }
Beispiel #3
0
        public static Enemy CreateStraightLineEnemyRight(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.Wanderer, position);

            enemy.AddBehaviour(enemy.StraightLineRight());
            enemy.Health = 100;
            return(enemy);
        }
Beispiel #4
0
        public static Enemy CreateSeeker2(Vector2 position)
        {
            var enemy2 = new Enemy(GameRoot.Seeker2, position);

            enemy2.PointValue = 2;
            enemy2.AddBehaviour(enemy2.ShootPlayer());
            return(enemy2);
        }
Beispiel #5
0
        public static Enemy CreatePirateSeeker(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.PirateSeeker, position);

            enemy.AddBehaviour(enemy.FollowPlayer(1.4f));
            enemy.HealthPoints = 6;

            return(enemy);
        }
Beispiel #6
0
        public static Enemy CreateGovernmentSeeker(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.GovernmentSeeker, position);

            enemy.AddBehaviour(enemy.FollowPlayer(1f));
            enemy.HealthPoints = 10;

            return(enemy);
        }
Beispiel #7
0
        public static Enemy Killer(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.Killer, position);

            enemy.AddBehaviour(enemy.FollowPlayer());
            enemy.PointValue = 5;

            return(enemy);
        }
Beispiel #8
0
        public static Enemy CreateEnemyRare(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.AlienRare, position);

            enemy.AddBehaviour(enemy.FollowPlayer());
            enemy.health         = 200;
            enemy.nameIdentifier = 2;
            return(enemy);
        }
Beispiel #9
0
        public static Enemy CreateSeeker3(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.BossE, position);

            enemy.AddBehaviour(enemy.FollowPlayer());
            enemy.PointValue = 2;

            return(enemy);
        }
Beispiel #10
0
        internal static Entity CreateGovernmentBoss(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.PirateBoss, position);

            enemy.AddBehaviour(enemy.FollowPlayer(1f));
            enemy.HealthPoints = 200;
            enemy.BossFlag     = true;

            return(enemy);
        }
Beispiel #11
0
        public static Enemy CreateBoss(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.Boss, position);

            enemy.AddBehaviour(enemy.Idle());
            enemy.Health   = 200;
            enemy.Velocity = new Vector2(0, 0);
            enemy.isBoss   = true;

            PlayerShip.Instance.bossSpawned = true;
            return(enemy);
        }