Merge ascension/instance/infinite arena/vampire survivor progress into one manager

This commit is contained in:
Melledy
2025-11-09 21:27:08 -08:00
parent 3f7b0d366d
commit db5209ff06
15 changed files with 172 additions and 187 deletions
@@ -1,6 +1,5 @@
package emu.nebula.game.infinitytower;
import dev.morphia.annotations.Id;
import emu.nebula.data.GameData;
import emu.nebula.game.player.Player;
import emu.nebula.game.player.PlayerChangeInfo;
@@ -10,22 +9,11 @@ import lombok.Getter;
@Getter
public class InfinityTowerManager extends PlayerManager {
@Id
private int uid;
private transient int levelId;
private transient long buildId;
@Deprecated // Morphia only
public InfinityTowerManager() {
}
private int levelId;
private long buildId;
public InfinityTowerManager(Player player) {
super(player);
this.uid = player.getUid();
//this.save();
}
public int getBountyLevel() {