v0.6.0: Implemented room initialization, converted loads of logic to new levelgen structure
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user