Moar boxes.

This commit is contained in:
NathanSweet 2014-11-30 12:42:23 +01:00
parent e38213fb67
commit 3ed63ef028

View File

@ -211,7 +211,7 @@ public class Box2DExample extends ApplicationAdapter {
// Next we create the 50 box bodies using the PolygonShape we just
// defined. This process is similar to the one we used for the ground
// body. Note that we reuse the polygon for each body fixture.
for (int i = 0; i < 20; i++) {
for (int i = 0; i < 45; i++) {
// Create the BodyDef, set a random position above the
// ground and create a new body
BodyDef boxBodyDef = new BodyDef();