]> Dogcows Code - chaz/carfire/commitdiff
Single Player test - Player will shoot in one direction and screen will follow him.
authorKyle <Kyle@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Thu, 15 Apr 2010 19:16:48 +0000 (19:16 +0000)
committerKyle <Kyle@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Thu, 15 Apr 2010 19:16:48 +0000 (19:16 +0000)
git-svn-id: https://bd85.net/svn/cs3505_group@94 92bb83a3-7c8f-8a45-bc97-515c4e399668

CarFire/CarFire/CarFire/Display.cs

index eda371168b541b105400ed6fe1698e7af81b6fd8..8f4fbdccf803fc361bbfcec5f9213106e1b1db89 100644 (file)
@@ -139,9 +139,6 @@ namespace CarFire
             mMap.Draw(spriteBatch);\r
             foreach(Projectile projectile in mProjectiles)\r
             {\r
-                //Debug - follow a projectile to make sure following is working.\r
-                if (mProjectiles.IndexOf(projectile) == 6)\r
-                    mMap.CenterCell = new Vector2(projectile.GridX, projectile.GridY);\r
                 projectile.Draw(spriteBatch);\r
                 \r
             }\r
This page took 0.023518 seconds and 4 git commands to generate.