C# Class HelloWorld.ActionInvestmentDescriptor

定义游戏活动需要投入的资源描述
Show file Open project: Ivony/HelloWorld Class Usage Examples

Public Methods

Method Description
FromData ( Newtonsoft.Json.Linq.JObject data ) : ActionInvestmentDescriptor
TryInvest ( HelloWorld.Place place ) : bool

在指定的地块尝试进行投入

Method Details

FromData() public static method

public static FromData ( Newtonsoft.Json.Linq.JObject data ) : ActionInvestmentDescriptor
data Newtonsoft.Json.Linq.JObject
return ActionInvestmentDescriptor

TryInvest() public method

在指定的地块尝试进行投入
public TryInvest ( HelloWorld.Place place ) : bool
place HelloWorld.Place 要进行投入的地块
return bool