documenting new hasLevelUp() function in Card.java

This commit is contained in:
jendave
2011-08-06 04:01:01 +00:00
parent 86adb2253b
commit 368b37a56e

View File

@@ -315,6 +315,10 @@ public class Card extends MyObservable {
this.updateObservers(); this.updateObservers();
} }
/**
* hasLevelUp() - checks to see if a creature has the "Level up" ability introduced in Rise of the Eldrazi
* @return true if this creature can "Level up", false otherwise
*/
public boolean hasLevelUp() { public boolean hasLevelUp() {
return counters.containsKey(Counters.LEVEL); return counters.containsKey(Counters.LEVEL);
} }