class Bully{ // Bully's behavior is dictated by moving towards the player who is closest to them int bullySize; int bullySpeed = 2; float xPos, yPos; float[] v = new float[2]; // distances and angles to players float[] d = new float[numberOfPlayers]; float[] a = new float[numberOfPlayers]; // bully color int bullyR = 0; int bullyG = 0; int bullyB = 0; // Constructor Bully(int x, int y, int s) { xPos = x; yPos = y; bullySize = s; } // SET methods void setVelocity(float velocX, float velocY){ v[0] = velocX*bullySpeed; v[1] = velocY*bullySpeed; println("setting velocity: v[0]:" + v[0]+" v[1]:" + v[1]); } //-------------------------------------------- // check distances between all the players and store them void check_distances(){ /*float[] kidsx = new float[numberOfPlayers]; float[] kidsy = new float[numberOfPlayers]; int[] minusx = new int[numberOfPlayers]; int[] minusy = new int[numberOfPlayers]; // store the positions of each of the players for (int i = 0; i