C# Class xnapunk.graphics.SpriteMap

Inheritance: Graphic
Mostrar archivo Open project: Gnoll/XNAPunk

Public Properties

Property Type Description
TotalFrames int

Public Methods

Method Description
CentreOrigin ( ) : void
Draw ( Vector2 position ) : void
SpriteMap ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 frameSize ) : System

Method Details

CentreOrigin() public method

public CentreOrigin ( ) : void
return void

Draw() public method

public Draw ( Vector2 position ) : void
position Vector2
return void

SpriteMap() public method

public SpriteMap ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 frameSize ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
frameSize Vector2
return System

Property Details

TotalFrames public_oe property

public int TotalFrames
return int