/// <summary> /// Get a <see cref="Scene"/> that was previously registered. /// </summary> /// <param name="name">The name given to the scene that was previously registered.</param> /// <returns>The registered scene with the given name.</returns> public static Scene GetScene(string name) { return(scenes.Get(name)); }
/// <summary> /// Get a <see cref="Texture2D"/> that was already loaded into memory. /// </summary> /// <param name="name">The name assigned to a previously loaded image.</param> /// <returns>The loaded <see cref="Texture2D"/> associated with the given name.</returns> public static Texture2D GetImage(string name) { return(textures.Get(name)); }
/// <summary> /// Get a <see cref="Effect"/> that was already loaded into memory. /// </summary> /// <param name="name">The name assigned to a previously loaded effect.</param> /// <returns>The loaded <see cref="Effect"/> associated with the given name.</returns> public static Effect GetEffect(string name) { return(effects.Get(name)); }
/// <summary> /// Get a <see cref="SoundEffect"/> that was already loaded into memory. /// </summary> /// <param name="name">The name assigned to a previously loaded sound effect.</param> /// <returns>The loaded <see cref="SoundEffect"/> associated with the given name.</returns> public static SoundEffect GetSoundEffect(string name) { return(soundEffects.Get(name)); }
/// <summary> /// Get a <see cref="BMFont"/> that was already loaded into memory. /// </summary> /// <param name="name">The name assigned to a previously loaded font.</param> /// <returns>The loaded <see cref="BMFont"/> associated with the given name.</returns> public static BMFont GetFont(string name) { return(fonts.Get(name)); }
/// <summary> /// Get <see cref="SpriteData"/> that was previously registered. /// </summary> /// <param name="name">The name given to the sprite data that was previously registered.</param> /// <returns>The registered sprite data with the given name.</returns> public static SpriteData GetSpriteData(string name) { return(spriteDataLookup.Get(name)); }
/// <summary> /// Get an <see cref="InputProfile"/> that was previously saved. /// </summary> /// <param name="name">The name of the input profile that was previously saved.</param> /// <returns>The saved input profile with the given name.</returns> public static InputProfile GetProfile(string name) { return(profiles.Get(name)); }
/// <summary> /// Get <see cref="GeometryData"/> that was previously registered. /// </summary> /// <param name="name">The name given to shape data that was already registered.</param> /// <returns>The registered shape data with the given name.</returns> public static GeometryData GetShapeData(string name) { return(shapes.Get(name)); }
/// <summary> /// Get a <see cref="Camera"/> that was previously registered. /// </summary> /// <param name="name">The name given to the camera that was previously registered.</param> /// <returns>The registered camera with the given name.</returns> public static Camera GetCamera(string name) { return(cameras.Get(name)); }
/// <summary> /// Get a <see cref="DebugEntry"/> that was previously registered. /// </summary> /// <param name="name">The name given to the debug entry that was previously registered.</param> /// <returns>The registered debug entry with the given name.</returns> public static DebugEntry GetDebugEntry(string name) { return(debugEntries.Get(name)); }
/// <summary> /// Get a <see cref="Model"/> that was already loaded into memory. /// </summary> /// <param name="name">The name assigned to a previously loaded model.</param> /// <returns>The loaded <see cref="Model"/> associated with the given name.</returns> public static Model GetModel(string name) { return(models.Get(name)); }
/// <summary> /// Get a <see cref="SpriteAtlas"/> that was already loaded into memory. /// </summary> /// <param name="name">The name assigned to a previously loaded sprite atlas.</param> /// <returns>The loaded <see cref="SpriteAtlas"/> associated with the given name.</returns> public static SpriteAtlas GetSpriteAtlas(string name) { return(atlases.Get(name)); }