Example #1
0
        public override string ToString(Game g)
        {
            string res = MyActivatable.ToString(g) + "{Targets: ";

            foreach (GameObject go in Targets)
            {
                res += go.ToString(g) + ",";
            }

            res = res.Substring(0, res.Length - 1) + "}{ManaPaid: ";
            foreach (GameObject go in Targets)
            {
                res += go.ToString(g) + ",";
            }
            res = res.Substring(0, res.Length - 1) + "}";

            return(res);
        }
 public override string ToString(Game g)
 {
     return("SetTarget for " + MyActivatable.ToString(g));
 }
Example #3
0
 public override string ToString(Game g)
 {
     return("PayActionCost for " + MyActivatable.ToString(g));
 }