C# 클래스 MrGravity.MISC_Code.PlayerFaces

파일 보기 프로젝트 열기: DizWARE/Mr-Gravity

공개 메소드들

메소드 설명
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