C# Class FlyingBird.PipeManager

Afficher le fichier Open project: ThuCommix/Sharpex2D Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

PipeManager() public méthode

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.
Résultat System

Render() public méthode

Renders the object.
public Render ( RenderDevice renderer ) : void
renderer RenderDevice The Renderer.
Résultat void

Reset() public méthode

Resets the PipeManager.
public Reset ( ) : void
Résultat void

Update() public méthode

Updates the object.
public Update ( GameTime gameTime ) : void
gameTime Sharpex2D.GameTime The GameTime.
Résultat void