public void AddProjectile(Projectile projectile) { if (projectile == null) return; ActiveProjectiles.Add(projectile); }
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; }