Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2015, 1:51:10 PM (8 years ago)
Author:
gania
Message:

introduced loops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/src/orxonox/worldentities/ActionPoint.h

    r10848 r10855  
    6868                    inline void setProtectMeXML(bool c)
    6969                    {
    70                         this->protectMe_ = c;
     70                        this->bProtectMe_ = c;
    7171                    }
    7272                    inline bool getProtectMeXML ()
    7373                    {
    74                         return this->protectMe_;
     74                        return this->bProtectMe_;
    7575                    }
    7676
     
    7979                    inline void setFightAllXML(bool c)
    8080                    {
    81                         this->fightAll_ = c;
     81                        this->bFightAll_ = c;
    8282                    }
    8383                    inline bool getFightAllXML ()
    8484                    {
    85                         return this->fightAll_;
     85                        return this->bFightAll_;
    8686                    }
    8787                //----[/FightAll data]----
     
    102102                        return "";
    103103                }
     104                void setLoopStart(bool value)
     105                {
     106                    this->bLoopStart_ = value;
     107                }
     108                void setLoopEnd (bool value)
     109                {
     110                    this->bLoopEnd_ = value;
     111                }
    104112            //----["Waypoints" data]----
    105113                void setTargetPosition(const Vector3& target);
     
    107115            //----[/"Waypoints" data]----
    108116
     117            bool getLoopStart()
     118            {
     119                return this->bLoopStart_;
     120            }
     121            bool getLoopEnd();
     122            {
     123                return this->bLoopEnd_;
     124            }
    109125        private:
    110126           
     
    115131            WeakPtr<ControllableEntity> enemy_;
    116132
    117             bool protectMe_;
    118             bool fightAll_;
     133            bool bLoopStart_;
     134            bool bLoopEnd_;
     135            bool bProtectMe_;
     136            bool bFightAll_;
    119137            Vector3 targetPosition_;
    120138    };
Note: See TracChangeset for help on using the changeset viewer.