Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7337 in orxonox.OLD for trunk/src/world_entities/playable.h


Ignore:
Timestamp:
Apr 19, 2006, 12:24:20 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: simple useless stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/playable.h

    r7173 r7337  
    4141    void previousWeaponConfig();
    4242
    43     inline WeaponManager* getWeaponManager() const { return this->weaponMan; };
     43    inline WeaponManager& getWeaponManager() { return this->weaponMan; };
    4444    void weaponConfigChanged();
    4545
     
    6565
    6666
    67     virtual void setAbsDirPlay(const Quaternion& rot) = 0;
    68     void setAbsDirPlay(float angle, float dirX, float dirY, float dirZ) { this->setAbsDirPlay(Quaternion(angle, Vector(dirX, dirY, dirZ))); }
     67    //
     68    virtual void setStartDirection(const Quaternion& rot) = 0;
     69    void setStartDirection(float angle, float dirX, float dirY, float dirZ) { this->setStartDirection(Quaternion(angle, Vector(dirX, dirY, dirZ))); }
    6970
    7071    inline void setScore( int score ) { this->score = score; }
     
    8182
    8283  private:
    83     WeaponManager*        weaponMan;          //!< the weapon manager: managing a list of weapon to wepaon-slot mapping
     84    WeaponManager         weaponMan;          //!< the weapon manager: managing a list of weapon to wepaon-slot mapping
    8485    std::list<int>        events;             //!< A list of Events, that are captured for this playable
    8586
Note: See TracChangeset for help on using the changeset viewer.