C# 클래스 DRObjects.MapItem

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

공개 메소드들

메소드 설명
GetPossibleActions ( Actor actor ) : ActionType[]

Returns the list of actions which are possible upon this tile or item For mundane tiles and items, the following are default for the player character Other details to be added later.

MapItem ( ) : System

Creates a default map item

MapItem ( MapCoordinate coordinate ) : System

Creates a default map item at a current location

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

Defines what happens when an action is performed upon the tile or item. These are the default values.

ToString ( ) : string

메소드 상세

GetPossibleActions() 공개 메소드

Returns the list of actions which are possible upon this tile or item For mundane tiles and items, the following are default for the player character Other details to be added later.
public GetPossibleActions ( Actor actor ) : ActionType[]
actor Actor
리턴 ActionType[]

MapItem() 공개 메소드

Creates a default map item
public MapItem ( ) : System
리턴 System

MapItem() 공개 메소드

Creates a default map item at a current location
public MapItem ( MapCoordinate coordinate ) : System
coordinate MapCoordinate
리턴 System

PerformAction() 공개 메소드

Defines what happens when an action is performed upon the tile or item. These are the default values.
public PerformAction ( ActionType actionType, Actor actor, object args ) : ActionFeedback[]
actionType ActionType
actor Actor
args object
리턴 ActionFeedback[]

ToString() 공개 메소드

public ToString ( ) : string
리턴 string