Hey guys,
i'm programming a game in which someone has to put food in his house... I programmed a score counter which gets a new value after eating food. My problem is that it shouldn't get a new value after eating something. I want to get a new score after placing the food in a specific cell (e.g. width 5, height 6...). To get a new score I just have to put in counter.add(1); but I don`t know the program line for "saying" the counter that one object is in a specific cell.... Can someone help me please?
Thank you for your help!

