Re-added tap event for servers

This commit is contained in:
Anuken
2020-09-30 15:01:46 -04:00
parent 059c729a2c
commit d07c74b60f
5 changed files with 30 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ public class EventType{
}
}
/** Called when the configures sets a specific block. */
/** Called when the player configures a specific building. */
public static class ConfigEvent{
public final Building tile;
public final Player player;
@@ -161,6 +161,17 @@ public class EventType{
}
}
/** Called when a player taps any tile. */
public static class TapEvent{
public final Player player;
public final Tile tile;
public TapEvent(Player player, Tile tile){
this.tile = tile;
this.player = player;
}
}
public static class GameOverEvent{
public final Team winner;