Initial commit

This commit is contained in:
2022-05-08 01:52:25 +02:00
commit d2c12b4792
16 changed files with 686 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package gg.malloc.defense.model;
import org.bukkit.World;
public interface Arena {
World getWorld();
String name();
Spawnpoint[] spawnpoints();
}

View File

@@ -0,0 +1,6 @@
package gg.malloc.defense.model;
public interface Game {
int getWaveCount();
Wave getWave(int waveNumber);
}

View File

@@ -0,0 +1,8 @@
package gg.malloc.defense.model;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Entity;
public interface Spawner {
Entity spawnMob(EntityType type);
}

View File

@@ -0,0 +1,9 @@
package gg.malloc.defense.model;
import org.bukkit.Location;
public interface Spawnpoint {
Location getLocation();
String getName();
String getID();
}

View File

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