static class StrongholdGenerator.PieceData extends Object
Modifier and Type | Field and Description |
---|---|
int |
generatedCount |
int |
limit |
Class<? extends StrongholdGenerator.Piece> |
pieceType |
int |
weight |
Constructor and Description |
---|
PieceData(Class<? extends StrongholdGenerator.Piece> pieceType,
int weight,
int limit) |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerate() |
boolean |
canGenerate(int chainLength) |
public final Class<? extends StrongholdGenerator.Piece> pieceType
public final int weight
public int generatedCount
public final int limit
public PieceData(Class<? extends StrongholdGenerator.Piece> pieceType, int weight, int limit)