Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2009, 5:42:50 PM (15 years ago)
Author:
landauf
Message:

Cleaned up setPlayer/removePlayer interface between PlayerInfo and ControllableEntity. The whole control is now up to the PlayerInfo, the respective functions in ControllableEntity are now protected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/worldentities/pawns/Spectator.h

    r2662 r3038  
    4646            virtual void tick(float dt);
    4747
    48             virtual void setPlayer(PlayerInfo* player);
    49             virtual void startLocalHumanControl();
    50 
    5148            virtual void moveFrontBack(const Vector2& value);
    5249            virtual void moveRightLeft(const Vector2& value);
     
    5956            virtual void fire(WeaponMode::Enum fireMode);
    6057            virtual void greet();
     58
     59        protected:
     60            virtual void setPlayer(PlayerInfo* player);
     61            virtual void startLocalHumanControl();
    6162
    6263        private:
Note: See TracChangeset for help on using the changeset viewer.