mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
documenting new hasLevelUp() function in Card.java
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user