tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/139-removing-multiple-objects-using-event-dispatchersRobotlegs: Discussion 2013-04-28T10:00:31Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/24401932010-08-02T09:13:07Z2010-08-02T09:13:07ZRemoving multiple objects using event dispatchers<div><p>Ive attached the file for viewing<br />
</p></div>uduh3tag:robotlegs.tenderapp.com,2009-10-18:Comment/24401932010-08-02T13:41:15Z2010-08-02T13:41:15ZRemoving multiple objects using event dispatchers<div><p>What you need to do is create a custom Event that stores the reference to the ball. Bind that event to your DeleteBallCommand, and inject the event into that command. I have modified your example to show the approach (almost every file has been edited, so please look through them all).</p></div>Shaun Smithtag:robotlegs.tenderapp.com,2009-10-18:Comment/24401932010-08-02T15:06:54Z2010-08-02T15:06:54ZRemoving multiple objects using event dispatchers<div><p>Thanks for the help, spot on!</p></div>uduh3tag:robotlegs.tenderapp.com,2009-10-18:Comment/24401932010-08-02T15:31:33Z2010-08-02T15:31:33ZRemoving multiple objects using event dispatchers<div><p>My pleasure :)</p></div>Shaun Smith