Implement vampire survivor talent unlocking

This commit is contained in:
Melledy
2025-11-14 20:16:25 -08:00
parent 139fe2cf27
commit b19667315d
6 changed files with 139 additions and 0 deletions

View File

@@ -13,6 +13,14 @@ public class Bitset {
public Bitset(long[] longArray) {
this.data = longArray;
}
public boolean isEmpty() {
return this.data.length == 1 && this.data[0] == 0L;
}
public void clear() {
this.data = new long[1];
}
public boolean isSet(int index) {
int longArrayOffset = (int) Math.floor((index - 1) / 64D);