/// <summary> /// Loads all the shared and start/title/pause screen stuff. /// </summary> public static void LoadShared() { // Box art Textures TextureStatic.Load("BoxArtGame1", @"Shared\BoxArt\BoxArtGame1"); TextureStatic.Load("BoxArtGame2", @"Shared\BoxArt\BoxArtGame2"); TextureStatic.Load("BoxArtGame3", @"Shared\BoxArt\BoxArtGame3"); TextureStatic.Load("BoxArtGame4", @"Shared\BoxArt\BoxArtGame4"); TextureStatic.Load("BoxArtGame5", @"Shared\BoxArt\BoxArtGame5"); TextureStatic.Load("BoxArtHolder", @"Shared\BoxArt\BoxArtHolder"); // Other Shared Textures TextureStatic.Load("TitleNameBorder", @"Shared\Art\titleNameBorder"); TextureStatic.Load("Blank", @"Shared\Art\Blank"); TextureStatic.Load("tileSafeCheck", @"Shared\Art\tileSafeCheck"); TextureStatic.Load("particle1", @"DefaultBackground\particle1"); TextureStatic.Load("checkers", @"DefaultBackground\checkers"); TextureStatic.Load("colorSwirl", @"DefaultBackground\colorSwirl"); TextureStatic.Load("sampleInstructions", @"Shared\Art\sampleInstructions"); TextureStatic.Load("instructionBorder", @"Shared\Art\instructionBorder"); TextureStatic.Load("gradient", @"Shared\Art\Gradient"); // Audio GameWorld.audio.LoadSound("boxArtScroll", @"Shared\Sounds\boxArtScroll"); GameWorld.audio.LoadSound("menuClick", @"Shared\Sounds\menuClick"); GameWorld.audio.LoadSound("menuGoBack", @"Shared\Sounds\menuGoBack"); GameWorld.audio.LoadSound("menuScrollDown", @"Shared\Sounds\menuScrollDown"); GameWorld.audio.LoadSound("menuScrollUp", @"Shared\Sounds\menuScrollUp"); GameWorld.audio.LoadSound("volumeControlDown", @"Shared\Sounds\volumeControlDown"); GameWorld.audio.LoadSound("volumeControlUp", @"Shared\Sounds\volumeControlUp"); // Fonts FontStatic.Load("defaultFont", @"Shared\Fonts\defaultFont"); FontStatic.Load("controllerFont", @"Shared\Fonts\controllerFont"); }