// Julia, Max // Outside wall Log[] walls = {new Log(-30, 275, 40, 275, false, true), new Log(-30, 600, 40, 275, false, true)}; void create_level(int logcount) { logs = new Log[logcount]; randomSeed((int)random(0, 30)); for (int i = 1; i < logs.length; i++) { logs[i] = new Log((int) random(20, width), (int) random(0, height), 20, 60 + random(0, 40), true, false); } // 2nd slide entry logs[0] = new Log(-15, 325, 10, 50, false, true); // debug log logs[1] = new Log(-300, 100, 20, 100, true, false); }