Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 4, 2011, 12:51:24 PM (13 years ago)
Author:
dafrick
Message:

Forgot to change some debug stuff. ;)

Location:
code/branches/ai2/src/modules/notifications
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/src/modules/notifications/NotificationDispatcher.cc

    r8821 r8823  
    8484
    8585        XMLPortParam(NotificationDispatcher, "sender", setSender, getSender, xmlelement, mode);
    86         XMLPortParam(NotificationDispatcher, "meh", setBroadcasting, isBroadcasting, xmlelement, mode);
     86        XMLPortParam(NotificationDispatcher, "broadcast", setBroadcasting, isBroadcasting, xmlelement, mode);
    8787
    8888        XMLPortEventSink(NotificationDispatcher, BaseObject, "trigger", trigger, xmlelement, mode);
     
    111111    void NotificationDispatcher::broadcast(void)
    112112    {
    113         COUT(0) << "meh" << endl;
    114113        // TODO: Needed?
    115114        const std::string message = this->createNotificationMessage();
  • code/branches/ai2/src/modules/notifications/NotificationDispatcher.h

    r8821 r8823  
    5050        A NotificationDispatcher is an entity that, upon being triggered, dispatches (or sends) a specified @ref orxonox::Notification "Notification".
    5151
    52         There ate two parameter to be set:
     52        There are two parameter to be set:
    5353        - The @b sender . The sender specifies the part of Orxonox the sent @ref orxonox::Notification "Notification" comes from. The default value is set by the classes implementing NotificationDispatcher.
    5454        - The @b broadcast . Specifies whether messages are broadcast (i.e. sent to all clients) or just sent to a specific player.
Note: See TracChangeset for help on using the changeset viewer.