C# Class Cyclyc.Framework.ScreenComponent

This is a game component that implements IUpdateable.
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Mostra file Open project: JoeOsborn/Cyclyc

Public Methods

Method Description
Draw ( GameTime gameTime ) : void

Allows the game component to update 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.

ScreenComponent ( Microsoft.Xna.Framework.Game game, string img ) : System

Protected Methods

Method Description
LoadContent ( ) : void

Method Details

Draw() public method

Allows the game component to update itself.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.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

LoadContent() protected method

protected LoadContent ( ) : void
return void

ScreenComponent() public method

public ScreenComponent ( Microsoft.Xna.Framework.Game game, string img ) : System
game Microsoft.Xna.Framework.Game
img string
return System