C# Class HelloWorld.PlaceBase

定义 Place 对象抽象
Inheritance: GameDataItem
Exibir arquivo Open project: Ivony/HelloWorld Class Usage Examples

Public Methods

Method Description
Check ( System.DateTime now ) : void

对地块进行例行检查

GetActions ( GamePlayer player ) : HelloWorld.ActionDescriptor[]

获取可以进行的操作列表

PlaceBase ( Coordinate coordinate ) : System

创建 Place 对象

Method Details

Check() public abstract method

对地块进行例行检查
public abstract Check ( System.DateTime now ) : void
now System.DateTime 系统时间
return void

GetActions() public abstract method

获取可以进行的操作列表
public abstract GetActions ( GamePlayer player ) : HelloWorld.ActionDescriptor[]
player GamePlayer
return HelloWorld.ActionDescriptor[]

PlaceBase() public method

创建 Place 对象
public PlaceBase ( Coordinate coordinate ) : System
coordinate Coordinate 地块所处坐标
return System