I have 2 classes named "Bird" and "Target". They both have mouse events. If the Hittestpoint returns true when mouse clicked ,in the bird class , bird child is removed. In the other hand , in the target class , when mouse clicked, target's x and y should be equal to the mouse's x and y. However, just one of these is happenning. For instance , when i clicked on bird, just bird dies or just target's x and y changes and bird doesn't die. What is the problem?
Comments