PageRenderTime 121ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/Engine/Game/Interfaces/IActor2D.cs

#
C# | 30 lines | 19 code | 2 blank | 9 comment | 0 complexity | 07753505721a22dd9b8bf7f2db2d315a MD5 | raw file
 1using Delta.Utilities.Datatypes;
 2
 3namespace Delta.Engine.Game.Interfaces
 4{
 5	/// <summary>
 6	/// Basic 2D Actor interface containing a Position and a Rotation.
 7	/// </summary>
 8	public interface IActor2D
 9	{
10		#region Position (Public)
11		/// <summary>
12		/// The current position of the actor.
13		/// </summary>
14		Point Position
15		{
16			get;
17		}
18		#endregion
19
20		#region Rotation (Public)
21		/// <summary>
22		/// The current rotation of the actor.
23		/// </summary>
24		float Rotation
25		{
26			get;
27		}
28		#endregion
29	}
30}