Re-added tap event for servers
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user