So i want to have a method with the parameters x and y
is there a way to limit x and y? For example that u cant type anything over 7?
And the second question is is it possible to check if an object is already on specific koordinates? I want my player to check if another player stands on the next field before he moves (if the other player stands there he cant get on that field)
public void name(int x, int y)
{
code
}

