]> Dogcows Code - chaz/carfire/blobdiff - CarFire/CarFire/CarFire/Player.cs
New property IEntity.IsCollidable so entities can let the collision code know whether...
[chaz/carfire] / CarFire / CarFire / CarFire / Player.cs
index da1af4ecc02a385cef816c1d5a2ca97d1326337b..9d6c6b41499dcdd181fc0955de3b459c3b534f3d 100644 (file)
@@ -28,11 +28,12 @@ namespace CarFire
 \r
         #region Public Properties\r
         public int Health { get { return playerHealth; } set{playerHealth = value;} }\r
-        public int Score { get { return score; } }\r
+        public int Score { get { return score; } set { score = value; } }\r
         public bool alive { get { return playerHealth > 0; } }\r
         public Game Game { get { return game; } }\r
         public MovementManager Motion { get { return mMotion; } }\r
         public int PlayerIndex { get { return mPlayerIndex; } }\r
+        public bool IsCollidable { get { return true; } }\r
         public Vector2 Position { get { return mMotion.Position; } }\r
         public Point Coordinates { get { return mMotion.Coordinates; } \r
             set\r
This page took 0.017642 seconds and 4 git commands to generate.