Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2009, 4:44:12 PM (16 years ago)
Author:
Naaduun
Message:

added rotate and zoom to map. using static mapscenemanager now

Location:
code/branches/map/src/orxonox/objects/worldentities/pawns
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/map/src/orxonox/objects/worldentities/pawns/Pawn.cc

    r2782 r2956  
    7575
    7676        this->registerVariables();
     77
     78        this->isHumanShip_ = this->hasLocalController();
    7779    }
    7880
     
    291293    }
    292294
     295    //Tell the Map (RadarViewable), if this is a playership
     296    void Pawn::startLocalHumanControl()
     297    {
     298//        SUPER(ControllableEntity, changedPlayer());
     299        ControllableEntity::startLocalHumanControl();
     300        this->isHumanShip_ = true;
     301    }
     302
    293303
    294304    ///////////////////
  • code/branches/map/src/orxonox/objects/worldentities/pawns/Pawn.h

    r2662 r2956  
    108108
    109109            virtual void dropItems();
     110           
     111            virtual void startLocalHumanControl();
    110112
    111113        protected:
Note: See TracChangeset for help on using the changeset viewer.