Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 11, 2009, 12:33:16 AM (15 years ago)
Author:
landauf
Message:

Moved Notification and NotificationManger from overlays to the quest objects (NotificationOverlay and NotificationQueue remain with the other overlays).

Added a new interface NotificationListener. The NotificationManager sends notifications to all listeners. NotificationQueue is such a listener (through inheritance). This removes another dependency between orxonox and overlays.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/libraries/src/orxonox/interfaces/InterfaceCompilation.cc

    r3327 r5619  
    4040#include "Tickable.h"
    4141#include "TimeFactorListener.h"
     42#include "NotificationListener.h"
    4243
    4344#include "core/CoreIncludes.h"
     
    108109        RegisterObject(Rewardable);
    109110    }
     111
     112    //----------------------------
     113    // NotificationListener
     114    //----------------------------
     115    NotificationListener::NotificationListener()
     116    {
     117        RegisterObject(NotificationListener);
     118    }
    110119}
Note: See TracChangeset for help on using the changeset viewer.