/Engine/Game/Interfaces/IActor2D.cs
C# | 30 lines | 19 code | 2 blank | 9 comment | 0 complexity | 07753505721a22dd9b8bf7f2db2d315a MD5 | raw file
Possible License(s): Apache-2.0
- using Delta.Utilities.Datatypes;
-
- namespace Delta.Engine.Game.Interfaces
- {
- /// <summary>
- /// Basic 2D Actor interface containing a Position and a Rotation.
- /// </summary>
- public interface IActor2D
- {
- #region Position (Public)
- /// <summary>
- /// The current position of the actor.
- /// </summary>
- Point Position
- {
- get;
- }
- #endregion
-
- #region Rotation (Public)
- /// <summary>
- /// The current rotation of the actor.
- /// </summary>
- float Rotation
- {
- get;
- }
- #endregion
- }
- }