CharacterState.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //-----------------------------------------------------------------------------
  2. // CharacterState.cs
  3. //
  4. // Microsoft XNA Community Game Platform
  5. // Copyright (C) Microsoft Corporation. All rights reserved.
  6. //-----------------------------------------------------------------------------
  7. namespace RolePlaying.Data
  8. {
  9. public abstract partial class Character : WorldObject
  10. {
  11. /// <summary>
  12. /// The state of a character.
  13. /// </summary>
  14. public enum CharacterState
  15. {
  16. /// <summary>
  17. /// Ready to perform an action, and playing the idle animation
  18. /// </summary>
  19. Idle,
  20. /// <summary>
  21. /// Walking in the world.
  22. /// </summary>
  23. Walking,
  24. /// <summary>
  25. /// In defense mode
  26. /// </summary>
  27. Defending,
  28. /// <summary>
  29. /// Performing Dodge Animation
  30. /// </summary>
  31. Dodging,
  32. /// <summary>
  33. /// Performing Hit Animation
  34. /// </summary>
  35. Hit,
  36. /// <summary>
  37. /// Dead, but still playing the dying animation.
  38. /// </summary>
  39. Dying,
  40. /// <summary>
  41. /// Dead, with the dead animation.
  42. /// </summary>
  43. Dead,
  44. }
  45. }
  46. }