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

/Engine/Game/Interfaces/IAttachable.cs

#
C# | 30 lines | 19 code | 2 blank | 9 comment | 0 complexity | 0d746f1863a26874dd9b4ab9d554fc3b MD5 | raw file
 1using Delta.Utilities.Datatypes;
 2
 3namespace Delta.Engine.Game.Interfaces
 4{
 5	/// <summary>
 6	/// Currently empty interface for attaching effects to an object.
 7	/// </summary>
 8	public interface IAttachable
 9	{
10		#region Position (Public)
11		/// <summary>
12		/// The current position of the attachable.
13		/// </summary>
14		Vector Position
15		{
16			get;
17		}
18		#endregion
19
20		#region Rotation (Public)
21		/// <summary>
22		/// The current rotation of the attachable.
23		/// </summary>
24		float Rotation
25		{
26			get;
27		}
28		#endregion
29	}
30}