Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 22, 2010, 5:33:42 PM (14 years ago)
Author:
solex
Message:

ArtificialController: sameTeam hacking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai/src/orxonox/controllers/ArtificialController.h

    r6417 r6601  
    4343            virtual ~ArtificialController();
    4444
     45            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);//new
     46
    4547            void abandonTarget(Pawn* target);
     48
     49            inline void setTeam(int team)//new
     50                { this->team_ = team; }
     51            inline int getTeam() const
     52                { return this->team_; }
     53
    4654
    4755        protected:
     
    6977            bool bShooting_;
    7078
     79            bool isMaster_;//new
     80            int team_;//new
     81
    7182        private:
    7283    };
Note: See TracChangeset for help on using the changeset viewer.