Enums.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. #region File Description
  2. //-----------------------------------------------------------------------------
  3. // Enums.cs
  4. //
  5. // Microsoft XNA Community Game Platform
  6. // Copyright (C) Microsoft Corporation. All rights reserved.
  7. //-----------------------------------------------------------------------------
  8. #endregion
  9. #region Using Statements
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Text;
  13. #endregion
  14. namespace Spacewar
  15. {
  16. /// <summary>
  17. /// This enum if for the state transitions.
  18. /// </summary>
  19. public enum GameState
  20. {
  21. /// <summary>
  22. /// Default value - means no state is set
  23. /// </summary>
  24. None,
  25. /// <summary>
  26. /// Nothing visible, game has just been run and nothing is initialized
  27. /// </summary>
  28. Started,
  29. /// <summary>
  30. /// Logo Screen is being displayed
  31. /// </summary>
  32. LogoSplash,
  33. /// <summary>
  34. /// Currently playing a version of the Evolved game
  35. /// </summary>
  36. PlayEvolved,
  37. /// <summary>
  38. /// Currently playing a version of the Evolved game
  39. /// </summary>
  40. PlayRetro,
  41. /// <summary>
  42. /// Choosing the ship
  43. /// </summary>
  44. ShipSelection,
  45. /// <summary>
  46. /// UpgradingWeapons
  47. /// </summary>
  48. ShipUpgrade,
  49. /// <summary>
  50. /// In the victory screen
  51. /// </summary>
  52. Victory,
  53. }
  54. /// <summary>
  55. /// The 5 types of projectiles
  56. /// </summary>
  57. public enum ProjectileType
  58. {
  59. /// <summary>
  60. /// Basic low damage default projectiles
  61. /// </summary>
  62. Peashooter,
  63. /// <summary>
  64. /// Fires multiple bullets per burst
  65. /// </summary>
  66. MachineGun,
  67. /// <summary>
  68. /// 2 streams of multiple bullets
  69. /// </summary>
  70. DoubleMachineGun,
  71. /// <summary>
  72. /// Rockets are single kill
  73. /// </summary>
  74. Rocket,
  75. /// <summary>
  76. /// BFG is single kill plus explosive damage
  77. /// </summary>
  78. BFG,
  79. }
  80. /// <summary>
  81. /// The types of ship available
  82. /// </summary>
  83. public enum ShipClass
  84. {
  85. /// <summary>
  86. /// Long and thin
  87. /// </summary>
  88. Pencil,
  89. /// <summary>
  90. /// Round ship
  91. /// </summary>
  92. Saucer,
  93. /// <summary>
  94. /// Square shape
  95. /// </summary>
  96. Wedge,
  97. }
  98. /// <summary>
  99. /// Spacewar has 2 groups of light settings for the ship.fx shader
  100. /// </summary>
  101. public enum LightingType
  102. {
  103. /// <summary>
  104. /// Use the lighting parameters setup for in game
  105. /// </summary>
  106. InGame,
  107. /// <summary>
  108. /// Use the lighting parameters setup for menus
  109. /// </summary>
  110. Menu,
  111. }
  112. }