Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 13, 2010, 11:35:18 AM (14 years ago)
Author:
dafrick
Message:

Documenting in pickups module.
Cleaning up in PickupManager.
Removed some obsolete functions in HumanController and ControllableEntity, which were remenants of the old pickups module.
Fixed a bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/worldentities/ControllableEntity.h

    r7163 r7533  
    5555            inline PlayerInfo* getPlayer() const
    5656                { return this->player_; }
     57            /**
     58            @brief Get the player even after the ControllableEntity has stopped being the players ControllableEntity.
     59            @return Returns the most recent PlayerInfo.
     60            */
     61            inline PlayerInfo* getFormerPlayer() const
     62                { return this->formerPlayer_; }
    5763
    5864            inline void setDestroyWhenPlayerLeft(bool bDestroy)
     
    8995            virtual void boost() {}
    9096            virtual void greet() {}
    91             virtual void useItem() {}
    92             virtual void dropItems() {}
    9397            virtual void switchCamera();
    9498            virtual void mouseLook();
     
    204208
    205209            PlayerInfo* player_;
     210            PlayerInfo* formerPlayer_;
    206211            unsigned int playerID_;
    207212
Note: See TracChangeset for help on using the changeset viewer.