From 1cff093c4d0b0e30919d20d51a3749caed86b98e Mon Sep 17 00:00:00 2001 From: Kyle Date: Wed, 21 Apr 2010 19:56:09 +0000 Subject: [PATCH] removed more outdated code. git-svn-id: https://bd85.net/svn/cs3505_group@126 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- CarFire/CarFire/CarFire/Human.cs | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/CarFire/CarFire/CarFire/Human.cs b/CarFire/CarFire/CarFire/Human.cs index 142a82b..a639716 100644 --- a/CarFire/CarFire/CarFire/Human.cs +++ b/CarFire/CarFire/CarFire/Human.cs @@ -149,32 +149,7 @@ namespace CarFire theDisplay.AddProjectiles(new Projectile(game.State.Map, projectileModel, toShoot, new Point(startX, startY))); - /* - if (state == State.up) - { - projectileCoolDown = shootCoolDown; - theDisplay.AddProjectiles(new Projectile(theMap, projectileModel, - new Vector2(0, -projectileSpeed), new Point(Coordinates.X, Coordinates.Y - 1))); - } - if (state == State.down) - { - projectileCoolDown = shootCoolDown; - theDisplay.AddProjectiles(new Projectile(theMap, projectileModel, - new Vector2(0, projectileSpeed), new Point(Coordinates.X, Coordinates.Y + 1))); - } - if (state == State.right) - { - projectileCoolDown = shootCoolDown; - theDisplay.AddProjectiles(new Projectile(theMap, projectileModel, - new Vector2(projectileSpeed, 0), new Point (Coordinates.X + 1, Coordinates.Y))); - } - if (state == State.left) - { - projectileCoolDown = shootCoolDown; - theDisplay.AddProjectiles(new Projectile(theMap, projectileModel, - new Vector2(-projectileSpeed, 0), new Point(Coordinates.X - 1, Coordinates.Y))); - } - */ + } } } -- 2.45.2