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/overlays/notifications/NotificationQueue.cc

    r3301 r5619  
    3939#include "core/XMLPort.h"
    4040#include "NotificationOverlay.h"
    41 #include "NotificationManager.h"
     41#include "objects/quest/notifications/NotificationManager.h"
    4242
    4343namespace orxonox
     
    8080        this->tickTime_ = 0.0;
    8181
    82         NotificationManager::getInstance().registerQueue(this);
     82        NotificationManager::getInstance().registerListener(this);
    8383    }
    8484
Note: See TracChangeset for help on using the changeset viewer.