C# Class PantheonPrototype.CutsceneManager

This class contains methods to run basic cutscenes (such as level loading).
Exibir arquivo Open project: Bacon41/PantheonPrototype Class Usage Examples

Protected Properties

Property Type Description
cutcsenePlaying bool
cutsceneEnded bool
hideOffset int
hideRect Microsoft.Xna.Framework.Rectangle
hideTexture Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
CutsceneManager ( GraphicsDevice graphicsDevice ) : System
Draw ( SpriteBatch spriteBatch ) : void

The method to draw anything to cover the screen.

PlayLevelEnd ( Pantheon gameReference ) : void
PlayLevelLoad ( Pantheon gameReference ) : void
Update ( GameTime gameTime, Pantheon gameReference ) : void

The method to make sure that the cutsecen actually moves.

Method Details

CutsceneManager() public method

public CutsceneManager ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
return System

Draw() public method

The method to draw anything to cover the screen.
public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch The object for drawing.
return void

PlayLevelEnd() public method

public PlayLevelEnd ( Pantheon gameReference ) : void
gameReference Pantheon
return void

PlayLevelLoad() public method

public PlayLevelLoad ( Pantheon gameReference ) : void
gameReference Pantheon
return void

Update() public method

The method to make sure that the cutsecen actually moves.
public Update ( GameTime gameTime, Pantheon gameReference ) : void
gameTime Microsoft.Xna.Framework.GameTime Time since last update.
gameReference Pantheon
return void

Property Details

cutcsenePlaying protected_oe property

protected bool cutcsenePlaying
return bool

cutsceneEnded protected_oe property

protected bool cutsceneEnded
return bool

hideOffset protected_oe property

protected int hideOffset
return int

hideRect protected_oe property

protected Rectangle,Microsoft.Xna.Framework hideRect
return Microsoft.Xna.Framework.Rectangle

hideTexture protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics hideTexture
return Microsoft.Xna.Framework.Graphics.Texture2D