Exemple #1
0
        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);
        }
Exemple #2
0
        private string ComputeAttackString(AttackStructure _Myself, AttackStructure _Oneself)
        {
            var cas = _Myself.ToString() + _Oneself.ToString();

            return(cas);
        }