C# Class DRObjects.Items.Archetypes.Global.CitadelItem

Inheritance: MapItem
Afficher le fichier Open project: Haedrian/Divine-Right Class Usage Examples

Méthodes publiques

Méthode Description
CitadelItem ( int corner ) : System

Creates a citadel item. For now we only support mazes, not ruins

GetPossibleActions ( Actor actor ) : Enums.ActionType[]
PerformAction ( ActionType actionType, Actor actor, object args ) : GraphicsEngineObjects.Abstract.ActionFeedback[]

Method Details

CitadelItem() public méthode

Creates a citadel item. For now we only support mazes, not ruins
public CitadelItem ( int corner ) : System
corner int
Résultat System

GetPossibleActions() public méthode

public GetPossibleActions ( Actor actor ) : Enums.ActionType[]
actor Actor
Résultat Enums.ActionType[]

PerformAction() public méthode

public PerformAction ( ActionType actionType, Actor actor, object args ) : GraphicsEngineObjects.Abstract.ActionFeedback[]
actionType ActionType
actor Actor
args object
Résultat GraphicsEngineObjects.Abstract.ActionFeedback[]