Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6919 in orxonox.OLD for branches/current_cd/src/story_entities


Ignore:
Timestamp:
Jan 31, 2006, 10:27:35 PM (19 years ago)
Author:
patrick
Message:

cd: less debug output, more debug functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/current_cd/src/story_entities/game_world.h

    r6845 r6919  
    99
    1010#include "story_entity.h"
     11#include "state.h"
    1112#include "game_world_data.h"
    1213
     
    5354    void togglePNodeVisibility() { this->showPNodes = !this->showPNodes; };
    5455    /** 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; }
    5758
    5859
Note: See TracChangeset for help on using the changeset viewer.