Changeset 7868 in orxonox.OLD for trunk/src/world_entities/camera.cc
- Timestamp:
- May 26, 2006, 1:21:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r7347 r7868 16 16 17 17 #include "camera.h" 18 19 #include "event_handler.h" 20 21 using namespace std; 22 18 #include "key_mapper.h" 23 19 24 20 /** … … 31 27 this->target = new CameraTarget(); 32 28 33 EventHandler::getInstance()->subscribe(this,ES_GAME, KeyMapper::PEV_VIEW0);34 EventHandler::getInstance()->subscribe(this,ES_GAME, KeyMapper::PEV_VIEW1);35 EventHandler::getInstance()->subscribe(this,ES_GAME, KeyMapper::PEV_VIEW2);36 EventHandler::getInstance()->subscribe(this,ES_GAME, KeyMapper::PEV_VIEW3);37 EventHandler::getInstance()->subscribe(this,ES_GAME, KeyMapper::PEV_VIEW4);38 EventHandler::getInstance()->subscribe(this,ES_GAME, KeyMapper::PEV_VIEW5);29 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW0); 30 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW1); 31 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW2); 32 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW3); 33 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW4); 34 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW5); 39 35 40 36 this->setFovy(90);
Note: See TracChangeset
for help on using the changeset viewer.