]> 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 02d6eec92a8838ffc9cdc365dfcd5a06e404270a..9d6c6b41499dcdd181fc0955de3b459c3b534f3d 100644 (file)
@@ -33,6 +33,7 @@ namespace CarFire
         public Game Game { get { return game; } }\r
         public MovementManager Motion { get { return mMotion; } }\r
         public int PlayerIndex { get { return mPlayerIndex; } }\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
         public Vector2 Position { get { return mMotion.Position; } }\r
         public Point Coordinates { get { return mMotion.Coordinates; } \r
             set\r
This page took 0.018466 seconds and 4 git commands to generate.