namespace CarFire\r
{\r
/// <summary>\r
- /// A class to represent any object that can exist as an\r
+ /// An interface to represent any object that can exist as an\r
/// independent piece of the game.\r
/// </summary>\r
public interface IEntity\r
/// <param name="spriteBatch">The widget.</param>\r
void Draw(SpriteBatch spriteBatch);\r
\r
+ /// <summary>\r
+ /// Get whether or not the entity is collidable.\r
+ /// </summary>\r
+ bool IsCollidable { get; }\r
+\r
/// <summary>\r
/// Get the actual position.\r
/// </summary>\r
/// <summary>\r
/// Get the coordinates on the grid.\r
/// </summary>\r
- Point Coordinates { get; }\r
+ Point Coordinates { get; set; }\r
+\r
+ /// <summary>\r
+ /// Get the entity's identifier.\r
+ /// </summary>\r
+ char Identifier { get; }\r
}\r
}\r