biome fixes + refactoring, blackened
This commit is contained in:
parent
6d912ae7ac
commit
1834c26b72
41 changed files with 296 additions and 328 deletions
17
java/src/game/biome/RngSpawn.java
Normal file
17
java/src/game/biome/RngSpawn.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
package game.biome;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.rng.RngItem;
|
||||
|
||||
public class RngSpawn extends RngItem {
|
||||
public final Class<? extends EntityLiving> type;
|
||||
public final int min;
|
||||
public final int max;
|
||||
|
||||
public RngSpawn(Class<? extends EntityLiving> type, int weight, int min, int max) {
|
||||
super(weight);
|
||||
this.type = type;
|
||||
this.min = min;
|
||||
this.max = max;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue