C# Класс PantheonPrototype.CutsceneManager

This class contains methods to run basic cutscenes (such as level loading).
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
cutcsenePlaying bool
cutsceneEnded bool
hideOffset int
hideRect Microsoft.Xna.Framework.Rectangle
hideTexture Microsoft.Xna.Framework.Graphics.Texture2D

Открытые методы

Метод Описание
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.

Описание методов

CutsceneManager() публичный Метод

public CutsceneManager ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
Результат System

Draw() публичный Метод

The method to draw anything to cover the screen.
public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch The object for drawing.
Результат void

PlayLevelEnd() публичный Метод

public PlayLevelEnd ( Pantheon gameReference ) : void
gameReference Pantheon
Результат void

PlayLevelLoad() публичный Метод

public PlayLevelLoad ( Pantheon gameReference ) : void
gameReference Pantheon
Результат void

Update() публичный Метод

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
Результат void

Описание свойств

cutcsenePlaying защищенное свойство

protected bool cutcsenePlaying
Результат bool

cutsceneEnded защищенное свойство

protected bool cutsceneEnded
Результат bool

hideOffset защищенное свойство

protected int hideOffset
Результат int

hideRect защищенное свойство

protected Rectangle,Microsoft.Xna.Framework hideRect
Результат Microsoft.Xna.Framework.Rectangle

hideTexture защищенное свойство

protected Texture2D,Microsoft.Xna.Framework.Graphics hideTexture
Результат Microsoft.Xna.Framework.Graphics.Texture2D