Files
Mindustry/core/src/mindustry/entities/TargetPriority.java
2025-04-04 11:47:35 -04:00

19 lines
627 B
Java

package mindustry.entities;
/** Higher priority blocks will always get targeted over those of lower priority, regardless of distance. */
public class TargetPriority{
public static final float
//nobody cares about walls
wall = -3f,
//anything that has underBullets gets this priority (it's probably still more important than a wall)
under = -2f,
//transport infrastructure isn't as important as factories
transport = -1f,
//most blocks
base = 0f,
//turrets deal damage so they are more important
turret = 1f,
//core is always the most important thing to destroy
core = 2f;
}