Changeset 6919 in orxonox.OLD for branches/current_cd/src/story_entities
- Timestamp:
- Jan 31, 2006, 10:27:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/current_cd/src/story_entities/game_world.h
r6845 r6919 9 9 10 10 #include "story_entity.h" 11 #include "state.h" 11 12 #include "game_world_data.h" 12 13 … … 53 54 void togglePNodeVisibility() { this->showPNodes = !this->showPNodes; }; 54 55 /** toggles the bounding volume (BV) visibility */ 55 void toggleBVVisibility() { this->showBV = !this->showBV; };56 56 void toggleBVVisibility() { dynamic_cast<GameWorld*>(State::getCurrentStoryEntity())->applyToggleBVVisibility(); } 57 void applyToggleBVVisibility() { this->showBV = !this->showBV; } 57 58 58 59
Note: See TracChangeset
for help on using the changeset viewer.