コード例 #1
0
ファイル: JsonLoader.cs プロジェクト: darthdeus/HexMage.NET
 public JsonAbility(int dmg, int ap, int range, int cooldown, JsonBuff buff, JsonAreaBuff areaBuff)
 {
     this.dmg      = dmg;
     this.ap       = ap;
     this.range    = range;
     this.cooldown = cooldown;
     this.buff     = buff;
     this.areaBuff = areaBuff;
 }
コード例 #2
0
ファイル: JsonLoader.cs プロジェクト: darthdeus/HexMage.NET
 public JsonAreaBuff(AreaBuff areaBuff)
 {
     Coord  = areaBuff.Coord;
     Radius = areaBuff.Radius;
     Effect = new JsonBuff(areaBuff.Effect);
 }