Settings.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #region File Description
  2. //-----------------------------------------------------------------------------
  3. // Settings.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.IO;
  12. using System.Xml.Serialization;
  13. using Microsoft.Xna.Framework;
  14. using Microsoft.Xna.Framework.Graphics;
  15. #endregion
  16. namespace Marblets
  17. {
  18. /// <summary>
  19. /// The Setting class handles loading and saving of global application settings.
  20. /// The normal .Net classes (System.Configuration) for doing this are not available
  21. /// on the Xbox 360.
  22. /// </summary>
  23. public class Settings
  24. {
  25. #region General App Settings
  26. /// <summary>
  27. /// The path to look for all media in
  28. /// </summary>
  29. public string MediaPath = @"Content\";
  30. /// <summary>
  31. /// The name of the window when running in windowed mode
  32. /// </summary>
  33. public string WindowTitle = "Marblets";
  34. #endregion
  35. #region MarbleColors
  36. /// <summary>
  37. /// Default marble colors to use
  38. /// </summary>
  39. public Color[] MarbleColors = new Color[] { new Color(255, 0, 0),
  40. new Color(40, 175, 255),
  41. new Color(40, 255, 20),
  42. new Color(255, 255, 0),
  43. new Color(255, 20, 230) };
  44. //monochrome
  45. //public Color[] MarbleColors = new Color[] { new Color(255, 255, 255),
  46. // new Color(205, 205, 205),
  47. // new Color(155, 155, 155),
  48. // new Color(105, 105, 105),
  49. // new Color(55, 55, 55) };
  50. #endregion
  51. }
  52. }