C# Class Sharpcraft.Library.Minecraft.Skin

A skin, used by players.
Exibir arquivo Open project: SijmenSchoon/Sharpcraft

Public Methods

Method Description
GetTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D

Gets the Texture2D object of the skin.

Skin ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Microsoft.Xna.Framework.Graphics

Intitialize a new Skin class.

Method Details

GetTexture() public method

Gets the Texture2D object of the skin.
public GetTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
return Microsoft.Xna.Framework.Graphics.Texture2D

Skin() public method

Intitialize a new Skin class.
public Skin ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Microsoft.Xna.Framework.Graphics
texture Microsoft.Xna.Framework.Graphics.Texture2D The texture object of the skin.
return Microsoft.Xna.Framework.Graphics