C# Class DRObjects.Items.Tiles.Global.GlobalTile

Inheritance: MapItem
ファイルを表示 Open project: Haedrian/Divine-Right

Private Properties

Property Type Description

Public Methods

Method Description
GetGraphicsByOverlay ( GlobalOverlay overlay ) : SpriteData
GetPossibleActions ( Actor actor ) : ActionType[]
GlobalTile ( ) : System
HuntDifficulty ( ) : int

Determine how difficult it is to hunt successfully. Hunting will be d10 + explorer skill

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

Removes the top owner

TraverseTimeInMinutes ( Actor actor ) : int

Returns the total amount of time needed to traverse into this tile. Takes into consideration the actor's skill and the way they're travelling

Method Details

GetGraphicsByOverlay() public method

public GetGraphicsByOverlay ( GlobalOverlay overlay ) : SpriteData
overlay GlobalOverlay
return DRObjects.Graphics.SpriteData

GetPossibleActions() public method

public GetPossibleActions ( Actor actor ) : ActionType[]
actor Actor
return ActionType[]

GlobalTile() public method

public GlobalTile ( ) : System
return System

HuntDifficulty() public method

Determine how difficult it is to hunt successfully. Hunting will be d10 + explorer skill
public HuntDifficulty ( ) : int
return int

PerformAction() public method

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

RemoveOwner() public method

Removes the top owner
public RemoveOwner ( ) : void
return void

TraverseTimeInMinutes() public method

Returns the total amount of time needed to traverse into this tile. Takes into consideration the actor's skill and the way they're travelling
public TraverseTimeInMinutes ( Actor actor ) : int
actor Actor
return int