HI
I was just wondering if you could explain how the code below works
i know it checks if the actor has been visited but i am not sure what the visited = -(++visited); part does.
if (visited >= 0 && isTouching(Player.class))
{
visited = -(++visited);
Money_Counter.money=Money_Counter.money+10;
}



