C# Class PantheonPrototype.CutsceneManager

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

Protected Properties

Свойство Type Description
cutcsenePlaying bool
cutsceneEnded bool
hideOffset int
hideRect Microsoft.Xna.Framework.Rectangle
hideTexture Microsoft.Xna.Framework.Graphics.Texture2D

Méthodes publiques

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

public CutsceneManager ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
Résultat System

Draw() public méthode

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

PlayLevelEnd() public méthode

public PlayLevelEnd ( Pantheon gameReference ) : void
gameReference Pantheon
Résultat void

PlayLevelLoad() public méthode

public PlayLevelLoad ( Pantheon gameReference ) : void
gameReference Pantheon
Résultat void

Update() public méthode

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
Résultat void

Property Details

cutcsenePlaying protected_oe property

protected bool cutcsenePlaying
Résultat bool

cutsceneEnded protected_oe property

protected bool cutsceneEnded
Résultat bool

hideOffset protected_oe property

protected int hideOffset
Résultat int

hideRect protected_oe property

protected Rectangle,Microsoft.Xna.Framework hideRect
Résultat Microsoft.Xna.Framework.Rectangle

hideTexture protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics hideTexture
Résultat Microsoft.Xna.Framework.Graphics.Texture2D