C# Class Pong.PongExample

Inheritance: Squared.Render.MultithreadedGame
Show file Open project: sq/Fracture Class Usage Examples

Public Methods

Method Description
Draw ( GameTime gameTime, Frame frame ) : void
PongExample ( ) : System
ResetPlayfield ( int loserIndex ) : void

Protected Methods

Method Description
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

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

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

PongExample() public method

public PongExample ( ) : System
return System

ResetPlayfield() public method

public ResetPlayfield ( int loserIndex ) : void
loserIndex int
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() protected method

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