Begin an animation of a usercontrol with the trigger of another one

Dec 24 2008 5:53 PM
For the sake of interactivity, is common in UI and Games development that you want to define components of the application separately. Yet, you also want to share some interactivity among all of them. So, suppose I have an animation in one usercontrol depicting a monster in which I make it explode, and then I have other usercontrol which represents the player, then, I want that whenever the player hit the monster (I could raise an event from inside the player class) the animation in the monster is triggered... is there a way to solve this?

Thanks and Happy X-mas !! :-)

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.