Make things less debug-y, introduce the start of scripted waves, UX improvements

This commit is contained in:
2022-05-08 11:38:23 +02:00
parent d2c12b4792
commit 9e7ab2c0d4
8 changed files with 276 additions and 82 deletions

View File

@@ -1,6 +1,8 @@
package gg.malloc.defense.model;
import org.bukkit.entity.Entity;
public interface Game {
int getWaveCount();
Wave getWave(int waveNumber);
default void onMobDamaged(Entity entity) {}
}

View File

@@ -2,6 +2,5 @@ package gg.malloc.defense.model;
public interface Wave {
int batchCount();
int totalMobCount();
void spawnBatch(Spawner spawner, int batch);
}