Make things less debug-y, introduce the start of scripted waves, UX improvements
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,5 @@ package gg.malloc.defense.model;
|
||||
|
||||
public interface Wave {
|
||||
int batchCount();
|
||||
int totalMobCount();
|
||||
void spawnBatch(Spawner spawner, int batch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user