C# Class HelloWorld.UnitDescriptor

定义一个单位描述信息
Inheritance: GameRuleItem
Mostrar archivo Open project: Ivony/HelloWorld Class Usage Examples

Public Methods

Method Description
GetActions ( Unit unit ) : HelloWorld.ActionDescriptor[]

获取单位可以执行的操作列表

Protected Methods

Method Description
Initialize ( GameRulesBase rules, Newtonsoft.Json.Linq.JObject data ) : void

Method Details

GetActions() public method

获取单位可以执行的操作列表
public GetActions ( Unit unit ) : HelloWorld.ActionDescriptor[]
unit Unit
return HelloWorld.ActionDescriptor[]

Initialize() protected method

protected Initialize ( GameRulesBase rules, Newtonsoft.Json.Linq.JObject data ) : void
rules GameRulesBase
data Newtonsoft.Json.Linq.JObject
return void