Beispiel #1
0
        public static Enemy CreateBasic(Vector2 position, int Level)
        {
            var enemy = new Enemy(GameRoot.Basic, position, Level);

            enemy.AddEnemyType(enemy.BasicEnemy());
            enemy.PointValue = 1;
            if (Level == 1)
            {
                enemy.Health         = 1;
                enemy.cooldownFrames = 90;
            }
            else
            {
                enemy.Health         = 2;
                enemy.cooldownFrames = 80;
            }
            return(enemy);
        }