Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2011, 11:40:54 PM (13 years ago)
Author:
jo
Message:

First successful attempt, to make bots shoot rockets. Unfortunately they're shooting the wrong ones.

File:
1 edited

Legend:

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

    r7533 r8701  
    155155                { return this->target_.get(); }
    156156            void setTargetInternal( uint32_t targetID );
     157            inline bool getRocket() const
     158                {return this-> bIsRocket;}
    157159
    158160        protected:
     
    168170
    169171            Ogre::SceneNode* cameraPositionRootNode_;
     172            bool bIsRocket; //Workaround to see, if the controllable entity is a Rocket.
    170173
    171174        private:
Note: See TracChangeset for help on using the changeset viewer.