C# Class MyPolarBear.Content.ContentManager

Afficher le fichier Open project: sgdc/sgdc-old Class Usage Examples

Méthodes publiques

Méthode Description
AddFont ( string name, SpriteFont font ) : void
AddTexture ( string name, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
ContentManager ( ) : System.Collections.Generic
GetFont ( string name ) : SpriteFont
GetTexture ( string name ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

AddFont() public static méthode

public static AddFont ( string name, SpriteFont font ) : void
name string
font Microsoft.Xna.Framework.Graphics.SpriteFont
Résultat void

AddTexture() public static méthode

public static AddTexture ( string name, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
name string
texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

ContentManager() public méthode

public ContentManager ( ) : System.Collections.Generic
Résultat System.Collections.Generic

GetFont() public static méthode

public static GetFont ( string name ) : SpriteFont
name string
Résultat Microsoft.Xna.Framework.Graphics.SpriteFont

GetTexture() public static méthode

public static GetTexture ( string name ) : Microsoft.Xna.Framework.Graphics.Texture2D
name string
Résultat Microsoft.Xna.Framework.Graphics.Texture2D