예제 #1
0
        public static Enemy CreateSeeker(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.Seeker, position);

            enemy.AddBehaviour(enemy.FollowPlayer());

            return(enemy);
        }
예제 #2
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);
        }
예제 #3
0
        public static Enemy CreateGovernmentSeeker(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.GovernmentSeeker, position);

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

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

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

            return(enemy);
        }
예제 #5
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);
        }
예제 #6
0
        public static Enemy CreateSeeker3(Vector2 position)
        {
            var enemy = new Enemy(GameRoot.BossE, position);

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

            return(enemy);
        }
예제 #7
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);
        }