Rand rename
This commit is contained in:
@@ -148,7 +148,7 @@ public class Floor extends Block{
|
||||
|
||||
@Override
|
||||
public void drawBase(Tile tile){
|
||||
Mathf.random.setSeed(tile.pos());
|
||||
Mathf.rand.setSeed(tile.pos());
|
||||
|
||||
Draw.rect(variantRegions[Mathf.randomSeed(tile.pos(), 0, Math.max(0, variantRegions.length - 1))], tile.worldx(), tile.worldy());
|
||||
|
||||
@@ -170,7 +170,7 @@ public class Floor extends Block{
|
||||
}
|
||||
|
||||
public void drawNonLayer(Tile tile){
|
||||
Mathf.random.setSeed(tile.pos());
|
||||
Mathf.rand.setSeed(tile.pos());
|
||||
|
||||
drawEdges(tile, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user