X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fcarfire;a=blobdiff_plain;f=CarFire%2FCarFire%2FCarFire%2FIEntity.cs;h=76dcc19a8a15b48e5617261aeefb2c05b2766670;hp=cfa72c2cce0d60a06643743ab8f6121f61a47545;hb=08f41ef45f3c41ca6302150bc6d5270c8e7143db;hpb=af9deb873b24dadd0d509ce199fc6cac2b3efbc9 diff --git a/CarFire/CarFire/CarFire/IEntity.cs b/CarFire/CarFire/CarFire/IEntity.cs index cfa72c2..76dcc19 100644 --- a/CarFire/CarFire/CarFire/IEntity.cs +++ b/CarFire/CarFire/CarFire/IEntity.cs @@ -9,7 +9,7 @@ using Microsoft.Xna.Framework.Graphics; namespace CarFire { /// - /// A class to represent any object that can exist as an + /// An interface to represent any object that can exist as an /// independent piece of the game. /// public interface IEntity @@ -32,6 +32,11 @@ namespace CarFire /// The widget. void Draw(SpriteBatch spriteBatch); + /// + /// Get whether or not the entity is collidable. + /// + bool IsCollidable { get; } + /// /// Get the actual position. /// @@ -40,6 +45,11 @@ namespace CarFire /// /// Get the coordinates on the grid. /// - Point Coordinates { get; } + Point Coordinates { get; set; } + + /// + /// Get the entity's identifier. + /// + char Identifier { get; } } }