X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fcarfire;a=blobdiff_plain;f=CarFire%2FCarFire%2FCarFire%2FSaberMonster.cs;h=f417d52c160a1470935d4249506789033955b705;hp=2d711a4e812159e55fbecc72092528ee58a2e8df;hb=08f41ef45f3c41ca6302150bc6d5270c8e7143db;hpb=e9d15e51944eb945665e7f955184c484a3df8552 diff --git a/CarFire/CarFire/CarFire/SaberMonster.cs b/CarFire/CarFire/CarFire/SaberMonster.cs index 2d711a4..f417d52 100644 --- a/CarFire/CarFire/CarFire/SaberMonster.cs +++ b/CarFire/CarFire/CarFire/SaberMonster.cs @@ -211,6 +211,8 @@ namespace CarFire this.health -= amount; } + public bool IsCollidable { get { return true; } } + /// /// Get the smoothed position. /// @@ -219,7 +221,15 @@ namespace CarFire /// /// Get the grid coordinates. /// - public Point Coordinates { get { return mMotion.Coordinates; } } + public Point Coordinates { + get { return mMotion.Coordinates; } + set { mMotion = new MovementManager(value, mMotion.Speed); } + } + + /// + /// Get the entity identifier. + /// + public char Identifier { get { return mId; } } #endregion