// Project: XnaTetris, File: Directories.cs // Namespace: XnaTetris.Helpers, Class: Directories // Path: C:\code\XnaTetris\Helpers, Author: Abi // Code lines: 169, Size of file: 3,68 KB // Creation date: 07.09.2006 05:56 // Last modified: 01.10.2006 18:53 // Generated with Commenter by abi.exDream.com #region Using directives using System; using System.Collections.Generic; using System.Text; using System.IO; using Microsoft.Xna.Framework.Storage; #endregion namespace XnaTetris.Helpers { /// /// Helper class which stores all used directories. /// class Directories { #region Game base directory /// /// We can use this to relocate the whole game directory to another /// location. Used for testing (everything is stored on a network drive). /// public static readonly string GameBaseDirectory = // Update to support Xbox360: StorageContainer.TitleLocation; //""; #endregion #region Directories /// /// Content directory for all our textures, models and shaders. /// /// String public static string ContentDirectory { get { return Path.Combine(GameBaseDirectory, "Content"); } // get } // ContentDirectory /// /// Sounds directory, for some reason XAct projects don't produce /// any content files (bug?). We just load them ourself! /// /// String public static string SoundsDirectory { get { return Path.Combine(GameBaseDirectory, "Sounds"); } // get } // SoundsDirectory /// /// Textures directory, just used for testing. The game just uses /// the content directory. /// /// String public static string TexturesDirectory { get { return Path.Combine(GameBaseDirectory, "Textures"); } // get } // TexturesDirectory /// /// Shaders directory /// /// String public static string ShadersDirectory { get { return Path.Combine(GameBaseDirectory, "Shaders"); } // get } // ShadersDirectory /// /// Default Screenshots directory. /// /// String public static string ScreenshotsDirectory { get { return Path.Combine(GameBaseDirectory, "Screenshots"); } // get } // ScreenshotsDirectory /// /// Levels directory /// /// String public static string TracksDirectory { get { return Path.Combine(GameBaseDirectory, "Tracks"); } // get } // TracksDirectory #endregion } // class Directories } // namespace XnaTetris.Helpers