Package mindustry.maps.generators
Class BaseGenerator
java.lang.Object
mindustry.maps.generators.BaseGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static Block
getDifficultyWall
(int size, float difficulty) void
static boolean
tryPlace
(BaseRegistry.BasePart part, int x, int y, Team team) Tries to place a base part at a certain location with a certain team.static boolean
tryPlace
(BaseRegistry.BasePart part, int x, int y, Team team, Intc2 posc) Tries to place a base part at a certain location with a certain team.
-
Constructor Details
-
BaseGenerator
public BaseGenerator()
-
-
Method Details
-
getDifficultyWall
-
generate
-
postGenerate
public void postGenerate() -
tryPlace
Tries to place a base part at a certain location with a certain team.- Returns:
- success state
-
tryPlace
public static boolean tryPlace(BaseRegistry.BasePart part, int x, int y, Team team, @Nullable Intc2 posc) Tries to place a base part at a certain location with a certain team.- Returns:
- success state
-