Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 27, 2009, 7:28:09 PM (15 years ago)
Author:
rgrieder
Message:

Moved Radar Management from GSLevel to Scene.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/modules/gamestates/GSLevel.cc

    r5806 r5813  
    4848
    4949#include "tools/interfaces/Tickable.h"
    50 #include "Radar.h"
    5150#include "CameraManager.h"
    5251#include "LevelManager.h"
     
    6766        , guiMouseOnlyInputState_(0)
    6867        , guiKeysOnlyInputState_(0)
    69         , radar_(0)
    7068        , cameraManager_(0)
    7169    {
     
    104102            // create the global CameraManager
    105103            this->cameraManager_ = new CameraManager(GraphicsManager::getInstance().getViewport());
    106 
    107             // Start the Radar
    108             this->radar_ = new Radar();
    109104        }
    110105
     
    186181        if (GameMode::isMaster())
    187182            this->unloadLevel();
    188 
    189         if (this->radar_)
    190         {
    191             this->radar_->destroy();
    192             this->radar_ = 0;
    193         }
    194183
    195184        if (this->cameraManager_)
Note: See TracChangeset for help on using the changeset viewer.