mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-03-05 23:20:32 +07:00
Created StatList#isEmpty() to check if there are any stats in any list
This commit is contained in:
parent
948f1a189c
commit
fa7e066ee1
@ -91,6 +91,10 @@ public final class StatList {
|
||||
return size;
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return size() == 0;
|
||||
}
|
||||
|
||||
public int size(int list) {
|
||||
return endingOffset(list) - startingOffset(list);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user