Added get/set for the whole SVars Hashtable

This commit is contained in:
jendave
2011-08-06 05:49:01 +00:00
parent 343af68bc3
commit 00f2bc3b21

View File

@@ -393,6 +393,16 @@ public class Card extends MyObservable {
SVars.put(Var, str); SVars.put(Var, str);
} }
public Hashtable<String, String> getSVars()
{
return SVars;
}
public void setSVars(Hashtable<String, String> newSVars)
{
SVars = newSVars;
}
public int sumAllCounters() { public int sumAllCounters() {
Object[] values = counters.values().toArray(); Object[] values = counters.values().toArray();
int count = 0; int count = 0;