PageRenderTime 35ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/Engine/Game/Interfaces/IAttachable.cs

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