public int xWidth, yHeight = 100; public int total = 1000; Bouncer[] bouncer; public boolean click; public int strokeVar; public float attackX, attackY; public void bounceSetup(){ bouncer = new Bouncer[total]; click = false; xWidth = width; strokeVar = 3; for (int i=0; i (height - 100.0))){ slammer[i].heatColor(); slammer[i].beingAttacked = true; attackX = slammer[i].x; attackY = slammer[i].y; return true; } else { slammer[i].beingAttacked = false; } } return false; }