Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2009, 5:39:53 PM (15 years ago)
Author:
wirthmi
Message:

First implementation of direction shooting.

Location:
code/branches/steering/src/orxonox/worldentities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/steering/src/orxonox/worldentities/ControllableEntity.cc

    r5929 r6045  
    6262        this->camera_ = 0;
    6363        this->xmlcontroller_ = 0;
     64        this->controller_ = 0;
    6465        this->reverseCamera_ = 0;
    6566        this->bDestroyWhenPlayerLeft_ = false;
  • code/branches/steering/src/orxonox/worldentities/ControllableEntity.h

    r5929 r6045  
    139139            inline Controller* getXMLController() const
    140140                { return this->xmlcontroller_; }
     141
     142            inline Controller* getController() const
     143                { return this->controller_; }
     144            inline void setController(Controller* c)
     145                { this->controller_ = c; }
    141146
    142147        protected:
     
    201206            std::string cameraPositionTemplate_;
    202207            Controller* xmlcontroller_;
     208            Controller* controller_;
    203209            CameraPosition* reverseCamera_;
    204210    };
Note: See TracChangeset for help on using the changeset viewer.