JPNotificationSample

ShiVa
Updating engine
This operation could take a few minutes

What's the sample about?

Pack: JPNotification --This sample shows how JPNotification works. --1. When an object is created, register to the notification system (here a Boxman): JPNotification.addObjectObserver ( this.getObject ( ) ) --2. Create it a handler for the notification he wants to receive: "onAnimateBoxMan" --3. When you decide to, trigger the event and all the BoxMan will receive it: JPNotification.sendNotification ( "onAnimateBoxMan" )