Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2011, 2:18:04 PM (13 years ago)
Author:
dboehi
Message:

Changed the camera shake effect to work with the updated boost code.

Location:
code/branches/gameimmersion
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gameimmersion

  • code/branches/gameimmersion/src/orxonox/controllers/HumanController.h

    r8079 r8379  
    6464            static void reload();
    6565
    66             static void boost();
     66            static void toggleBoost(); // Static method,toggles boosting.
     67            /**
     68            @brief Check whether the HumanController is in boosting mode.
     69            @return Returns true if it is, false if not.
     70            */
     71            inline bool isBoosting(void)
     72                { return this->boosting_; }
     73            void toggleBoosting(void); // Toggles the boosting mode.
     74           
    6775            static void greet();
    6876            static void switchCamera();
     
    92100            static HumanController* localController_s;
    93101            bool controlPaused_;
     102       
     103        private:
     104            bool boosting_; // Whether the HumanController is in boosting mode or not.
     105
    94106    }; // tolua_export
    95107} // tolua_export
Note: See TracChangeset for help on using the changeset viewer.