Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2008, 4:40:00 PM (16 years ago)
Author:
dafrick
Message:
  • Created QuestListeners, they can be used to affect Objects due to status changes of quests.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem3/src/orxonox/objects/quest/AddQuest.cc

    r2261 r2328  
    4242
    4343#include "orxonox/objects/infos/PlayerInfo.h"
     44#include "orxonox/overlays/notifications/Notification.h"
    4445#include "QuestManager.h"
    4546#include "Quest.h"
     
    110111
    111112        COUT(3) << "Quest {" << this->getQuestId() << "} successfully added to player." << std::endl;
     113        Notification* notification = new Notification("Crazy Message...", "Title", 30);
     114        notification->send();
    112115        return true;
    113116    }
Note: See TracChangeset for help on using the changeset viewer.