public static AttackStructure ToAttackStructure(string _AttackStructure) { int _AoD = int.Parse(_AttackStructure[0].ToString()); int _Stand = int.Parse(_AttackStructure[1].ToString()); int _Core = int.Parse(_AttackStructure[2].ToString()); var attackStructure = new AttackStructure(_AoD, _Stand, _Core); return(attackStructure); }
private string ComputeAttackString(AttackStructure _Myself, AttackStructure _Oneself) { var cas = _Myself.ToString() + _Oneself.ToString(); return(cas); }