the .getX() is a member function to return the x value of each instance of bug. The problem is: i keep getting the same "random" x and y variables for every single instance of the array after my for loop terminates. Does anyone know whats wrong?
You're reinitializing the random seed each time you call the constructor (line 3).
You then get eactly the same random numbers each time.
srand should only be called once in your program (usually in main).