C# Class Tetris.Score

Datei anzeigen Open project: vs-team/casanova-mk2 Class Usage Examples

Protected Properties

Property Type Description
font SpriteFont
level int
recordPlayer string
recordScore int
sBatch SpriteBatch
value int

Public Methods

Method Description
Draw ( GameTime gameTime ) : void

This is called when the game should draw itself.

Initialize ( ) : void

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.

Score ( Tetris.Game game, SpriteFont font ) : Microsoft.Xna.Framework

Method Details

Draw() public method

This is called when the game should draw itself.
public Draw ( GameTime gameTime ) : void
gameTime GameTime Provides a snapshot of timing values.
return void

Initialize() public method

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
public Initialize ( ) : void
return void

Score() public method

public Score ( Tetris.Game game, SpriteFont font ) : Microsoft.Xna.Framework
game Tetris.Game
font SpriteFont
return Microsoft.Xna.Framework

Property Details

font protected_oe property

protected SpriteFont font
return SpriteFont

level protected_oe property

protected int level
return int

recordPlayer protected_oe property

protected string recordPlayer
return string

recordScore protected_oe property

protected int recordScore
return int

sBatch protected_oe property

protected SpriteBatch sBatch
return SpriteBatch

value protected_oe property

protected int value
return int