new pattern (Worms) for lattice
[SugarCubes.git] / _Internals.pde
index f25f74a89473cece0229c6e052d65296ec1377e4..5738ed21078afa6f64ef7ed42c3bb1c7897bdad3 100644 (file)
@@ -39,6 +39,9 @@ final float TRAILER_WIDTH = 240;
 final float TRAILER_DEPTH = 97;
 final float TRAILER_HEIGHT = 33;
 
+final int MaxCubeHeight = 7;
+final int NumBackTowers = 9;
+
 int targetFramerate = 60;
 int startMillis, lastMillis;
 
@@ -508,8 +511,8 @@ void mouseReleased() {
     context.mouseReleased(mouseX, mouseY);
   }
 }
-void mouseWheel(int delta) {
+
+void mouseWheel(int delta) {delta*=20;
   boolean wheeled = false;
   for (UIContext context : overlays) {
     wheeled |= context.mouseWheel(mouseX, mouseY, delta);