Changeset 627 for code/branches/FICN/src/orxonox/Orxonox.cc
- Timestamp:
- Dec 18, 2007, 10:11:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/Orxonox.cc
r616 r627 63 63 #include "objects/Tickable.h" 64 64 #include "objects/Timer.h" 65 #include "objects/NPC.h" 65 66 #include "core/ArgReader.h" 66 67 #include "core/Factory.h" … … 90 91 { 91 92 auMan_->update(); 93 updateAI(); 92 94 93 95 if(mode_==PRESENTATION) … … 100 102 mKeyboard->capture(); 101 103 return !mKeyboard->isKeyDown(OIS::KC_ESCAPE); 104 } 105 106 void updateAI() 107 { 108 for(Iterator<NPC> it = ObjectList<NPC>::start(); it; ++it) 109 { 110 it->update(); 111 } 102 112 } 103 113
Note: See TracChangeset
for help on using the changeset viewer.