C# Класс MyPolarBear.Content.ContentManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddFont() публичный статический Метод

public static AddFont ( string name, SpriteFont font ) : void
name string
font Microsoft.Xna.Framework.Graphics.SpriteFont
Результат void

AddTexture() публичный статический Метод

public static AddTexture ( string name, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
name string
texture Microsoft.Xna.Framework.Graphics.Texture2D
Результат void

ContentManager() публичный Метод

public ContentManager ( ) : System.Collections.Generic
Результат System.Collections.Generic

GetFont() публичный статический Метод

public static GetFont ( string name ) : SpriteFont
name string
Результат Microsoft.Xna.Framework.Graphics.SpriteFont

GetTexture() публичный статический Метод

public static GetTexture ( string name ) : Microsoft.Xna.Framework.Graphics.Texture2D
name string
Результат Microsoft.Xna.Framework.Graphics.Texture2D