Exemple #1
0
 private void AddProjectileEnemy(Vector2 position)
 {
     ProjectileEnemy projectileEnemy = new ProjectileEnemy();
     projectileEnemy.Initialize(GraphicsDevice.Viewport, projectileTextureEnemy, position);
     projectilesEnemy.Add(projectileEnemy);
 }
Exemple #2
0
 private void AddProjectileBoss(Vector2 position)
 {
     ProjectileEnemy projectileBoss = new ProjectileEnemy();
     projectileBoss.Initialize(GraphicsDevice.Viewport, projectileTextureBoss, position);
     projectilesBoss.Add(projectileBoss);
 }