Well, I know I've used this before in my code (I'm sure of it) but I read through many of my class files and haven't found it yet. When I use this code
It says "cannot find symbol - class object"
I know that it wants me to specify what type of variable it is, my question is what is the "universal" symbol I can put there that won't care what actor class it contains?
public void getDistanceBetween(object object1, object object2) { double distance = Math.sqrt(Math.abs((object2.getY()-object1.getY())*(object2.getY()-object1.getY()) + ((object2.getX()-object1.getX())*(object2.getX()-object1.getX())))); return distance; }