]> Dogcows Code - chaz/carfire/blobdiff - CarFire/CarFire/CarFire/SaberMonster.cs
New IEntity properties: Coordinates (set), Identifier. Loadable entities should...
[chaz/carfire] / CarFire / CarFire / CarFire / SaberMonster.cs
index a3507c87f6006642655594aaa009555cbc283f1c..f417d52c160a1470935d4249506789033955b705 100644 (file)
@@ -221,7 +221,15 @@ namespace CarFire
         /// <summary>\r
         /// Get the grid coordinates.\r
         /// </summary>\r
-        public Point Coordinates { get { return mMotion.Coordinates; } }\r
+        public Point Coordinates {\r
+            get { return mMotion.Coordinates; }\r
+            set { mMotion = new MovementManager(value, mMotion.Speed); }\r
+        }\r
+\r
+        /// <summary>\r
+        /// Get the entity identifier.\r
+        /// </summary>\r
+        public char Identifier { get { return mId; } }\r
 \r
         #endregion\r
 \r
This page took 0.020573 seconds and 4 git commands to generate.