From: Kyle Date: Thu, 15 Apr 2010 19:16:48 +0000 (+0000) Subject: Single Player test - Player will shoot in one direction and screen will follow him. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=e55c1fd13b13e01468b622f0c5b3f6a4846aed0b;p=chaz%2Fcarfire Single Player test - Player will shoot in one direction and screen will follow him. git-svn-id: https://bd85.net/svn/cs3505_group@94 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- diff --git a/CarFire/CarFire/CarFire/Display.cs b/CarFire/CarFire/CarFire/Display.cs index eda3711..8f4fbdc 100644 --- a/CarFire/CarFire/CarFire/Display.cs +++ b/CarFire/CarFire/CarFire/Display.cs @@ -139,9 +139,6 @@ namespace CarFire mMap.Draw(spriteBatch); foreach(Projectile projectile in mProjectiles) { - //Debug - follow a projectile to make sure following is working. - if (mProjectiles.IndexOf(projectile) == 6) - mMap.CenterCell = new Vector2(projectile.GridX, projectile.GridY); projectile.Draw(spriteBatch); }