C# Класс MrGravity.MISC_Code.PlayerFaces

Показать файл Открыть проект

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

Метод Описание
FromString ( string faceName ) : Microsoft.Xna.Framework.Graphics.Texture2D

Given a name of one of the faces, returns the face texture

Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void

Loads all the faces from the content

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

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

Given a name of one of the faces, returns the face texture
public static FromString ( string faceName ) : Microsoft.Xna.Framework.Graphics.Texture2D
faceName string Name of the face
Результат Microsoft.Xna.Framework.Graphics.Texture2D

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

Loads all the faces from the content
public static Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager Content to load from
Результат void