I am trying to code object1 and object2 to where object1 moves in the world and object2 points to the object1 using object1's x & y coordinates
My idea was making the object1 have public int 1x = getX(); and call that in object2 which is a subclass of object1

