C# 클래스 PantheonPrototype.Quest

Contains all the objectives relevant to a given Quest. Basically goes from objective to objective, updating itself according to the current objective and the incoming event.
파일 보기 프로젝트 열기: Bacon41/PantheonPrototype 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
objectives List

공개 메소드들

메소드 설명
Initialize ( Pantheon gameReference ) : void

Initializes all current objectives and sets the current objective to the first one given.

Quest ( ) : System
Update ( GameTime gameTime, Pantheon gameReference ) : void

Checks to see if any of the current objectives need to be registered or deregistered for events.

setCurrentObjective ( int index ) : void

Adds the specified index to the current objective list. Note: Assumes that the objective has already been initialized.

메소드 상세

Initialize() 공개 메소드

Initializes all current objectives and sets the current objective to the first one given.
public Initialize ( Pantheon gameReference ) : void
gameReference Pantheon Game reference... why not.
리턴 void

Quest() 공개 메소드

public Quest ( ) : System
리턴 System

Update() 공개 메소드

Checks to see if any of the current objectives need to be registered or deregistered for events.
public Update ( GameTime gameTime, Pantheon gameReference ) : void
gameTime Microsoft.Xna.Framework.GameTime Time since the last update cycle.
gameReference Pantheon
리턴 void

setCurrentObjective() 공개 메소드

Adds the specified index to the current objective list. Note: Assumes that the objective has already been initialized.
public setCurrentObjective ( int index ) : void
index int The index indicating the objective to add from the objective list.
리턴 void

프로퍼티 상세

objectives 공개적으로 프로퍼티

The objectives for this quest.
public List objectives
리턴 List