mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
add comments to CountersSourceCount for null param usage
This commit is contained in:
parent
51546e7c78
commit
398744dfbe
5 changed files with 14 additions and 4 deletions
|
|
@ -12,6 +12,16 @@ public class CountersSourceCount implements DynamicValue {
|
|||
|
||||
private final CounterType counterType;
|
||||
|
||||
/**
|
||||
* Number of counters of any type on the source permanent
|
||||
*/
|
||||
public CountersSourceCount() {
|
||||
this((CounterType) null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of counters of the specified type on the source permanent
|
||||
*/
|
||||
public CountersSourceCount(CounterType counterType) {
|
||||
this.counterType = counterType;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue