Changeset 11394 for code/branches
- Timestamp:
- Apr 6, 2017, 4:17:58 PM (8 years ago)
- Location:
- code/branches/Dialogue_FS17
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Dialogue_FS17/data/levels/events.oxw
r9985 r11394 57 57 --> 58 58 59 <DistanceTrigger name="test" position="0,0,0" target="Pawn" distance=25 stayActive="true"/> 60 <Backlight position="0,0,0" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,0"/> 61 <DialogueManager question="Hello World3"> 62 <events> 63 <execute> 64 <EventListener event="test" /> 65 </execute> 66 </events> 67 </DialogueManager> 59 68 60 69 <!-- red --> -
code/branches/Dialogue_FS17/src/modules/dialogue/DialogueManager.cc
r11393 r11394 15 15 namespace orxonox { 16 16 //ManageScopedSingleton(DialogueManager, ScopeID::ROOT, false); 17 RegisterAbstractClass(DialogueManager).inheritsFrom< Configurable>();17 RegisterAbstractClass(DialogueManager).inheritsFrom<BaseObject>(); 18 18 19 19 … … 23 23 DialogueManager::DialogueManager(Context* context): BaseObject(context){ 24 24 RegisterObject(DialogueManager); 25 this->setConfigValues();25 26 26 27 27 … … 50 50 bool DialogueManager::execute(bool bTriggered, BaseObject* trigger) 51 51 { 52 if(!bTriggered) return false; 52 //if(!bTriggered) return false; 53 54 53 55 54 56 orxout() << "bTriggered is " << bTriggered;
Note: See TracChangeset
for help on using the changeset viewer.