Implement first pass at config loading, /join, /leave commands, tab completion (broken)

This commit is contained in:
2022-05-10 21:35:25 +02:00
parent 75debe1905
commit a4b110773e
17 changed files with 410 additions and 110 deletions

View File

@@ -3,8 +3,6 @@ package gg.malloc.defense.model;
import org.bukkit.World;
public interface Arena {
World getWorld();
String name();
Spawnpoint[] spawnpoints();
Spawnpoint bombTarget();
Waypoint[] spawnpoints();
Waypoint bombTarget();
}

View File

@@ -1,8 +1,6 @@
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

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

View File

@@ -0,0 +1,8 @@
package gg.malloc.defense.model;
public interface Waypoint {
double getX();
double getY();
double getZ();
String getName();
}