PageRenderTime 44ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

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