C# Класс Gruppe22.Backend.QuestStep

Показать файл Открыть проект

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

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