C# Class MrGravity.MISC_Code.PlayerFaces

Mostrar archivo Open project: DizWARE/Mr-Gravity

Public Methods

Method Description
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

Method Details

FromString() public static method

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
return Microsoft.Xna.Framework.Graphics.Texture2D

Load() public static method

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
return void