Unfinished block / Bugfixes

This commit is contained in:
Anuken
2019-01-23 23:43:31 -05:00
parent 9dd6a77c76
commit 9a444da343
9 changed files with 22 additions and 6 deletions

View File

@@ -95,8 +95,8 @@ public class MapGenerator extends Generator{
int rad = 10, frad = 12;
for(int x = rad; x <= rad; x++){
for(int y = rad; y <= rad; y++){
for(int x = -rad; x <= rad; x++){
for(int y = -rad; y <= rad; y++){
int wx = x + point.x, wy = y + point.y;
double dst = Mathf.dst(x, y);
if(dst < frad && Structs.inBounds(wx, wy, tiles) && (dst <= rad || Mathf.chance(0.5))){