mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Added hasCounters() to support Kulrath Knight.
This commit is contained in:
@@ -359,6 +359,11 @@ public class Card extends MyObservable {
|
|||||||
} else return 0;
|
} else return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean hasCounters()
|
||||||
|
{
|
||||||
|
return counters.size() > 0;
|
||||||
|
}
|
||||||
|
|
||||||
public void setCounter(Counters counterName, int n) {
|
public void setCounter(Counters counterName, int n) {
|
||||||
counters.put(counterName, Integer.valueOf(n));
|
counters.put(counterName, Integer.valueOf(n));
|
||||||
this.updateObservers();
|
this.updateObservers();
|
||||||
|
|||||||
Reference in New Issue
Block a user