Merge branch 'master' of https://github.com/Anuken/Mindustry into 7.0-features
Conflicts: core/src/mindustry/editor/MapInfoDialog.java core/src/mindustry/maps/filters/ClearFilter.java core/src/mindustry/mod/ClassMap.java gradle.properties
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -68,6 +68,8 @@ public class Rules{
|
||||
public float deconstructRefundMultiplier = 0.5f;
|
||||
/** No-build zone around enemy core radius. */
|
||||
public float enemyCoreBuildRadius = 400f;
|
||||
/** If true, no-build zones are calculated based on the closest core. */
|
||||
public boolean polygonCoreProtection = false;
|
||||
/** Radius around enemy wave drop zones.*/
|
||||
public float dropZoneRadius = 300f;
|
||||
/** Time between waves in ticks. */
|
||||
|
||||
Reference in New Issue
Block a user