Changeset 7866 in orxonox.OLD for branches/gui/src/world_entities/camera.cc
- Timestamp:
- May 26, 2006, 1:11:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/world_entities/camera.cc
r7347 r7866 31 31 this->target = new CameraTarget(); 32 32 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);33 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW0); 34 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW1); 35 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW2); 36 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW3); 37 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW4); 38 this->subscribeEvent(ES_GAME, KeyMapper::PEV_VIEW5); 39 39 40 40 this->setFovy(90);
Note: See TracChangeset
for help on using the changeset viewer.