[aspenmud] r125 committed - Finally got events working. Rather than holding a function name, they ...

2 views
Skip to first unread message

aspe...@googlecode.com

unread,
Nov 20, 2011, 12:53:22 AM11/20/11
to aspe...@googlegroups.com
Revision: 125
Author: ty...@tysdomain.com
Date: Sat Nov 19 21:52:15 2011
Log: Finally got events working. Rather than holding a function name,
they just take the function. This allows us to do something like:
events.AddCallback(this, "OnEnter", function (foo, bar) room.SendToAll("new
person entering.") end)


http://code.google.com/p/aspenmud/source/detail?r=125

Modified:
/trunk/src/com_movement.cpp
/trunk/src/event.cpp
/trunk/src/event.h
/trunk/src/eventManager.cpp
/trunk/src/eventManager.h
/trunk/src/scripts/scr_events.cpp
/trunk/src/scripts/scr_events.h
/trunk/src/scripts/scripts.cpp
/trunk/src/scripts/scripts.h
/trunk/src/world.cpp

Reply all
Reply to author
Forward
0 new messages