Hello there!
I've got a little problem with getOneIntersectingObject:
As you can see I try to get another Object of class Tile which intersects my new Object but the error message is:
incompatible types: greenfoot.Actor cannot be converted to Tile
what can i do about that? thanks for your help!
public int getValue(int x, int y)
{
Tile tiletemp = new Tile();
tiletemp.setLocation(x, y);
tiletemp = getOneIntersectingObject(Tile.class);
return tiletemp.value;
}

