C# Class TapTitanXNA_DenesseNedamo.Hero

Mostra file Open project: WINPROG20152016/Nedamo_TapTitanXNA Class Usage Examples

Public Properties

Property Type Description
characterChooser int
isWinner bool
playerPosition Vector2
spritePlayer AnimationPlayer
textureRec Microsoft.Xna.Framework.Rectangle
windowHeight float
windowWidth float

Public Methods

Method Description
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
Hero ( Microsoft.Xna.Framework.Content.ContentManager content, Level level, int characterChooser ) : System
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Hero() public method

public Hero ( Microsoft.Xna.Framework.Content.ContentManager content, Level level, int characterChooser ) : System
content Microsoft.Xna.Framework.Content.ContentManager
level Level
characterChooser int
return System

LoadContent() public method

public LoadContent ( ) : void
return void

Update() public method

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

Property Details

characterChooser public_oe property

public int characterChooser
return int

isWinner public_oe property

public bool isWinner
return bool

playerPosition public_oe property

public Vector2 playerPosition
return Vector2

spritePlayer public_oe property

public AnimationPlayer,TapTitanXNA_DenesseNedamo spritePlayer
return AnimationPlayer

textureRec public_oe property

public Rectangle,Microsoft.Xna.Framework textureRec
return Microsoft.Xna.Framework.Rectangle

windowHeight public_oe static_oe property

public static float windowHeight
return float

windowWidth public_oe static_oe property

public static float windowWidth
return float