i have two object (which can be placed more than once) and i want to write a method for one of them that deletes another object on the given koordinates
my code is:
how do i do this?
1 2 3 4 | public void deleteObject( int x, int y) { getWorld().removeObject(objectname,x,y); } |