Implement first pass at config loading, /join, /leave commands, tab completion (broken)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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) {}
|
||||
}
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
package gg.malloc.defense.model;
|
||||
|
||||
import org.bukkit.Location;
|
||||
|
||||
public interface Spawnpoint {
|
||||
Location getLocation();
|
||||
String getName();
|
||||
String getID();
|
||||
}
|
||||
8
src/main/java/gg/malloc/defense/model/Waypoint.java
Normal file
8
src/main/java/gg/malloc/defense/model/Waypoint.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package gg.malloc.defense.model;
|
||||
|
||||
public interface Waypoint {
|
||||
double getX();
|
||||
double getY();
|
||||
double getZ();
|
||||
String getName();
|
||||
}
|
||||
Reference in New Issue
Block a user