C# 클래스 Gruppe22.Backend.QuestStep

파일 보기 프로젝트 열기: propra13-orga/gruppe22

공개 메소드들

메소드 설명
AddChange ( MapChange change, ChangeType type ) : void

Add an effect to be applied on map state change

AddRequirement ( QuestRequirement requirement ) : void

Add a specific requirement to be performed before queststep is finished

ClearChanges ( ChangeType type ) : void

Clear all changes which would happen on specified map state changes

ClearRequirements ( ) : void

Remove all requirements from the list of requirements

Completed ( Actor actor ) : bool

Check whether all requirements are met by a specified actor

QuestStep ( string description = "", string objective = "", string completion = "", QuestStepType type = QuestStepType.Normal, List requirements = null, List starteffect = null, List endeffect = null, List blockeffect = null ) : System

Constructor

RemoveChange ( MapChange change, ChangeType type ) : void

Remove a specific effect from the list of map state effects

RemoveChange ( int i, ChangeType type ) : void

Remove a specific effect from the list of map state effects

RemoveRequirement ( QuestRequirement q ) : void

Remove a specific requirement from the list of requirements

RemoveRequirement ( int i ) : void

Remove a specific requirement from the list of requirements

메소드 상세

AddChange() 공개 메소드

Add an effect to be applied on map state change
public AddChange ( MapChange change, ChangeType type ) : void
change MapChange
type ChangeType
리턴 void

AddRequirement() 공개 메소드

Add a specific requirement to be performed before queststep is finished
public AddRequirement ( QuestRequirement requirement ) : void
requirement QuestRequirement
리턴 void

ClearChanges() 공개 메소드

Clear all changes which would happen on specified map state changes
public ClearChanges ( ChangeType type ) : void
type ChangeType
리턴 void

ClearRequirements() 공개 메소드

Remove all requirements from the list of requirements
public ClearRequirements ( ) : void
리턴 void

Completed() 공개 메소드

Check whether all requirements are met by a specified actor
public Completed ( Actor actor ) : bool
actor Actor
리턴 bool

QuestStep() 공개 메소드

Constructor
public QuestStep ( string description = "", string objective = "", string completion = "", QuestStepType type = QuestStepType.Normal, List requirements = null, List starteffect = null, List endeffect = null, List blockeffect = null ) : System
description string
objective string
completion string
type QuestStepType
requirements List
starteffect List
endeffect List
blockeffect List
리턴 System

RemoveChange() 공개 메소드

Remove a specific effect from the list of map state effects
public RemoveChange ( MapChange change, ChangeType type ) : void
change MapChange
type ChangeType
리턴 void

RemoveChange() 공개 메소드

Remove a specific effect from the list of map state effects
public RemoveChange ( int i, ChangeType type ) : void
i int
type ChangeType
리턴 void

RemoveRequirement() 공개 메소드

Remove a specific requirement from the list of requirements
public RemoveRequirement ( QuestRequirement q ) : void
q QuestRequirement
리턴 void

RemoveRequirement() 공개 메소드

Remove a specific requirement from the list of requirements
public RemoveRequirement ( int i ) : void
i int
리턴 void