mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Added get/set for the whole SVars Hashtable
This commit is contained in:
@@ -393,6 +393,16 @@ public class Card extends MyObservable {
|
||||
SVars.put(Var, str);
|
||||
}
|
||||
|
||||
public Hashtable<String, String> getSVars()
|
||||
{
|
||||
return SVars;
|
||||
}
|
||||
|
||||
public void setSVars(Hashtable<String, String> newSVars)
|
||||
{
|
||||
SVars = newSVars;
|
||||
}
|
||||
|
||||
public int sumAllCounters() {
|
||||
Object[] values = counters.values().toArray();
|
||||
int count = 0;
|
||||
|
||||
Reference in New Issue
Block a user