Skip to main content
GameDev.net gamedev.net
🔒 Locked

C# Event Dispatching?

Started by farzher Sep 29, 2010 at 7:51 AM 1 replies 3.9k views
Original Post
farzher
farzher
I come from ActionScript 3. Is there a way to dispatch events in C# and have different objects listen for them?

So like in the Player class when it dies it dispatches an "i died" event. And anyone listening gets notified running the handler function.
farzher
farzher
Thanks for the link. And the OOP Articles link in your sig, yumm OOP.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.