Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2009, 11:04:39 PM (14 years ago)
Author:
scheusso
Message:

god mode hack for presentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/controllers/Controller.h

    r6295 r6356  
    5151
    5252            virtual inline void hit(Pawn* originator, btManifoldPoint& contactpoint, float damage) {};
     53           
     54            void setGodMode( bool mode ){ this->bGodMode_ = mode; }
     55            bool getGodMode(){ return this->bGodMode_; }
    5356
    5457            inline ControllableEntity* getControllableEntity() const
     
    7073            PlayerInfo* player_;
    7174            ControllableEntity* controllableEntity_;
     75        private:
     76            bool bGodMode_;
    7277    };
    7378}
Note: See TracChangeset for help on using the changeset viewer.