Hi, I'm creating a minesweeper clone for a school project and iwanted to set the integer score in my world via the actor block here's my code of the set method and the call in my actor:
but it tells me that it cant find my set method.
what should i do?
// in World
public void setScore(int x)
{
score = score + x;
}
// in class
if(isTouching(Mine.class))
{
getWorld().setScore(1);
}
