C# Class MonoGameQuest.CursorSprite

Inheritance: Sprite
显示文件 Open project: half-ogre/MonoGameQuest Class Usage Examples

Public Methods

Method Description
CursorSprite ( MonoGameQuest game, Microsoft.Xna.Framework.Graphics.Texture2D spriteSheet, int pixelWidth, int pixelHeight ) : Microsoft.Xna.Framework
Draw ( GameTime gameTime ) : void
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
BeginSpriteBatch ( ) : void

Method Details

BeginSpriteBatch() protected method

protected BeginSpriteBatch ( ) : void
return void

CursorSprite() public method

public CursorSprite ( MonoGameQuest game, Microsoft.Xna.Framework.Graphics.Texture2D spriteSheet, int pixelWidth, int pixelHeight ) : Microsoft.Xna.Framework
game MonoGameQuest
spriteSheet Microsoft.Xna.Framework.Graphics.Texture2D
pixelWidth int
pixelHeight int
return Microsoft.Xna.Framework

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void