Polygonal protection bugfixes

This commit is contained in:
Anuken
2021-06-16 15:07:14 -04:00
parent f11f390c1f
commit 9088d9eb39
3 changed files with 35 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ import mindustry.net.*;
import mindustry.net.Packets.*;
import mindustry.type.*;
import mindustry.world.*;
import mindustry.world.blocks.storage.CoreBlock.*;
public class EventType{
@@ -283,6 +284,15 @@ public class EventType{
}
}
/** Called when a core block is placed/removed or its team is changed. */
public static class CoreChangeEvent{
public CoreBuild core;
public CoreChangeEvent(CoreBuild core){
this.core = core;
}
}
public static class StateChangeEvent{
public final State from, to;