From 10aa3a85bd7197e9d2d59af71e8c0e4f55ab0675 Mon Sep 17 00:00:00 2001 From: melvin Date: Fri, 8 Jul 2011 16:11:30 +0800 Subject: [PATCH] added toString --- src/magic/model/MagicManaCost.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/magic/model/MagicManaCost.java b/src/magic/model/MagicManaCost.java index 3cc0daed9a..26efd3a9f0 100644 --- a/src/magic/model/MagicManaCost.java +++ b/src/magic/model/MagicManaCost.java @@ -174,6 +174,11 @@ public class MagicManaCost { return costText; } + @Override + public String toString() { + return costText; + } + public boolean hasX() { return hasX; }