C# Class FlyingBird.PipeManager

Exibir arquivo Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
Intersects ( Player player ) : bool

A value indicating whether the player intersects.

PipeManager ( Texture2D pipeBody, Texture2D pipeBottom, Texture2D pipeTop ) : System

Initializes a new PipeManager class.

Render ( RenderDevice renderer ) : void

Renders the object.

Reset ( ) : void

Resets the PipeManager.

Update ( GameTime gameTime ) : void

Updates the object.

Method Details

Intersects() public method

A value indicating whether the player intersects.
public Intersects ( Player player ) : bool
player Player The Player.
return bool

PipeManager() public method

Initializes a new PipeManager class.
public PipeManager ( Texture2D pipeBody, Texture2D pipeBottom, Texture2D pipeTop ) : System
pipeBody Sharpex2D.Rendering.Texture2D The PipeBody.
pipeBottom Sharpex2D.Rendering.Texture2D The PipeBottom head.
pipeTop Sharpex2D.Rendering.Texture2D The PipeTop head.
return System

Render() public method

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

Reset() public method

Resets the PipeManager.
public Reset ( ) : void
return void

Update() public method

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