Exemplo n.º 1
0
 public void AddProjectile(Projectile projectile)
 {
     if (projectile == null)
         return;
     ActiveProjectiles.Add(projectile);
 }
Exemplo n.º 2
0
 public static Projectile DebugProjectile(GameObject Target, Tower SourceTower)
 {
     Projectile Proj = new Projectile(new Animation(TextureManager.MainManager["LaserYellow"], 1000), SourceTower.Center, new Vector2(100, 0), Target);
     return Proj;
 }