Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 9, 2009, 4:52:36 PM (16 years ago)
Author:
Naaduun
Message:

Added own scenemanager to map, added 2 pointer to contain mapentity and mapscenenod to radarviewable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/map/src/orxonox/objects/RadarViewable.h

    r2662 r2913  
    3636#include "util/Debug.h"
    3737#include "core/OrxonoxClass.h"
     38
     39#include <OgreSceneNode.h>
     40#include <OgreEntity.h>
    3841
    3942namespace orxonox
     
    8083            { return this->radarObjectShape_; }
    8184
     85/*
     86        inline void setMapNode(Ogre::SceneNode * node)
     87            { this->MapNode_ = node; }
     88        inline Ogre::SceneNode * getMapNode() const
     89            { return this->MapNode_; }
     90        inline void setMapEntity(Ogre::Entity * ent)
     91            { this->MapEntity_ = ent; }
     92        inline Ogre::Entity * getMapEntity() const
     93            { return this->MapEntity_; }
     94*/
     95        //Used for Map
     96        Ogre::SceneNode * MapNode_;
     97        Ogre::Entity * MapEntity_;
     98
    8299    private:
    83100        void validate(const WorldEntity* object) const
     
    94111        std::string radarObjectDescription_;
    95112        ColourValue radarObjectColour_;
     113       
    96114    };
    97115}
Note: See TracChangeset for help on using the changeset viewer.