public static Enemy CreateMissleEnemy(Vector2 position, int Level) { var enemy = new Enemy(GameRoot.MissileEnemy, position, Level); enemy.AddEnemyType(enemy.MissleEnemy()); enemy.PointValue = 1; enemy.Health = 2; enemy.cooldownFrames = 300; return(enemy); }
public static Enemy CreateAsteroid(Vector2 position, int Level) { var enemy = new Enemy(GameRoot.Asteroid, position, Level); enemy.AddEnemyType(enemy.Asteroid()); enemy.PointValue = 3; if (Level == 1) { enemy.Health = 3; } else { enemy.Health = 4; } return(enemy); }
public static Enemy CreateTwinShotEnemy(Vector2 position, int Level) { var enemy = new Enemy(GameRoot.TwinShot, position, Level); enemy.AddEnemyType(enemy.TwinShotEnemy()); enemy.PointValue = 2; if (Level == 1) { enemy.Health = 2; enemy.cooldownFrames = 80; } else { enemy.Health = 3; enemy.cooldownFrames = 70; } return(enemy); }
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); }