C# Class FlyingBird.Misc.AnimatedBackground

Exibir arquivo Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
AnimatedBackground ( Texture2D bgTexture ) : Sharpex2D

Initializes the AnimatedBackground class.

Render ( RenderDevice renderer ) : void

Renders the object.

Update ( GameTime gameTime ) : void

Updates the object.

Method Details

AnimatedBackground() public method

Initializes the AnimatedBackground class.
public AnimatedBackground ( Texture2D bgTexture ) : Sharpex2D
bgTexture Sharpex2D.Rendering.Texture2D The BackgroundTexture.
return Sharpex2D

Render() public method

Renders the object.
public Render ( RenderDevice renderer ) : void
renderer RenderDevice The Renderer.
return void

Update() public method

Updates the object.
public Update ( GameTime gameTime ) : void
gameTime Sharpex2D.GameTime The GameTime.
return void