X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=blobdiff_plain;f=_Mappings.pde;h=b7b6a86d483279fa9fbcc1973f9b089b297ee39d;hp=53ff88924b7a0848d8ea57176121da344987d8a0;hb=b9b7b3d47ba1edbb5595d749cf0d0a77a3ff7c5b;hpb=e18b4cb735a6e1f2d6cb2e7b1709d4a575cfe795 diff --git a/_Mappings.pde b/_Mappings.pde index 53ff889..b7b6a86 100644 --- a/_Mappings.pde +++ b/_Mappings.pde @@ -43,7 +43,7 @@ public Model buildModel() { // "raw object index" is serialized by running through towermapping and then individual cube mapping below. // We can do better than this. The raw object index should be obvious from the code-- looking through the // rendered simulation and counting through cubes in mapping mode is grossly inefficient. - + List towers = new ArrayList(); Cube[] cubes = new Cube[200]; int cubeIndex = 1; @@ -72,6 +72,5 @@ public Model buildModel() { towers.add(new Tower(tower)); } - return new Model(towers, cubes, BassBox.noBassBox(), new ArrayList()); + return new Model(towers, cubes); } -