Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 30, 2017, 9:33:27 AM (6 years ago)
Author:
kuchlert
Message:

fixed addQuestion and addAnswer in Dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialog_HS17/src/modules/dialog/DialogManager.cc

    r11607 r11611  
    3838        }
    3939}
    40 /*#include "core/CoreIncludes.h"
    41 #include "core/LuaState.h"
    42 #include "core/GUIManager.h"
    43 #include "core/class/Identifier.h"
    44 #include "core/singleton/ScopedSingletonIncludes.h"
    45 #include "network/Host.h"
    46 #include "network/NetworkFunctionIncludes.h"
    47 #include "DialogManager.h"
    48 #include <vector>
    49 #include <string>
    50 #include "core/XMLPort.h"
    51 #include "Dialog.h"
    52 
    53 
    54 
    55 namespace orxonox {
    56 
    57         ManageScopedSingleton(DialogManager, ScopeID::ROOT, false);
    58 
    59 
    60         DialogManager::DialogManager()
    61         {
    62                 this->currentTalk_ = NULL;
    63         }
    64 
    65         void DialogManager::setDialog(Dialog* dialog)
    66         {
    67                 this->currentTalk_ = dialog;   
    68         }
    69 
    70         const Dialog& getCurrentDialog()
    71         {
    72                 return this->currentTalk_;
    73         }
    74        
    75         bool DialogManager::empty()
    76         {
    77                 if(this->currentTalk_ == NULL)
    78                 {
    79                         return true;
    80                 }
    81                 else
    82                 {
    83                         return false;
    84                 }
    85         }
    86 } */
Note: See TracChangeset for help on using the changeset viewer.