v0.6.0: Implemented room initialization, converted loads of logic to new levelgen structure

This commit is contained in:
Evan Debenham
2017-04-13 00:10:33 -04:00
parent 7153104e4d
commit 01b4653938
21 changed files with 397 additions and 211 deletions

View File

@@ -134,7 +134,7 @@ public class Rect {
}
public ArrayList<Point> getPoints() {
ArrayList<Point> points = new ArrayList<>(square()*2);
ArrayList<Point> points = new ArrayList<>();
for (int i = left; i <= right; i++)
for (int j = top; j <= bottom; j++)
points.add(new Point(i, j));