C# 클래스 DRObjects.Items.Archetypes.Local.Potion

상속: InventoryItem
파일 보기 프로젝트 열기: Haedrian/Divine-Right 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetPossibleActions ( Actor actor ) : ActionType[]
PerformAction ( ActionType actionType, Actor actor, object args ) : ActionFeedback[]
Potion ( PotionType type ) : System
ThrowUpon ( Actor attacker, List actors ) : ActionFeedback[]

The effect to apply when the potion is thrown upon the actors. Also handles learnign (for those which give an effect) and feedback

메소드 상세

GetPossibleActions() 공개 메소드

public GetPossibleActions ( Actor actor ) : ActionType[]
actor Actor
리턴 ActionType[]

PerformAction() 공개 메소드

public PerformAction ( ActionType actionType, Actor actor, object args ) : ActionFeedback[]
actionType ActionType
actor Actor
args object
리턴 ActionFeedback[]

Potion() 공개 메소드

public Potion ( PotionType type ) : System
type PotionType
리턴 System

ThrowUpon() 공개 메소드

The effect to apply when the potion is thrown upon the actors. Also handles learnign (for those which give an effect) and feedback
public ThrowUpon ( Actor attacker, List actors ) : ActionFeedback[]
attacker Actor
actors List
리턴 ActionFeedback[]