C# Class LevelEditor.ContentManager

Afficher le fichier Open project: sgdc/sgdc-old

Méthodes publiques

Свойство Type Description
Textures Texture2D>.Dictionary

Méthodes publiques

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

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
Résultat System

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

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

Property Details

Textures public_oe static_oe property

public static Dictionary Textures
Résultat Texture2D>.Dictionary