Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2010, 9:33:09 AM (14 years ago)
Author:
rgrieder
Message:

Removed some tabs.

Location:
code/branches/presentation3/src/modules/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/modules/weapons/RocketController.h

    r7021 r7039  
    4949        public:
    5050            RocketController(BaseObject* creator);
    51                         virtual ~RocketController();
     51            virtual ~RocketController();
    5252           
    5353            virtual void tick(float dt);
    54                         SimpleRocket* getRocket() const
     54            SimpleRocket* getRocket() const
    5555             {  return this->rocket_;  };
    56                         void setTarget(WorldEntity* target);
     56            void setTarget(WorldEntity* target);
    5757        protected:
    58                         void moveToPosition(const Vector3& target);
    59                         void setTargetPosition();
    60                         void moveToTargetPosition();
     58            void moveToPosition(const Vector3& target);
     59            void setTargetPosition();
     60            void moveToTargetPosition();
    6161
    6262        private:
    63                         SimpleRocket* rocket_; //!<The Rocket it controlls
    64                         Vector3 targetPosition_;
    65                         WeakPtr<PlayerInfo> player_;
    66                                                
    67                         WeakPtr<WorldEntity> target_;
     63            SimpleRocket* rocket_; //!<The Rocket it controlls
     64            Vector3 targetPosition_;
     65            WeakPtr<PlayerInfo> player_;
     66                       
     67            WeakPtr<WorldEntity> target_;
    6868
    6969
  • code/branches/presentation3/src/modules/weapons/projectiles/SimpleRocket.h

    r7025 r7039  
    5151            SimpleRocket(BaseObject* creator);
    5252            virtual ~SimpleRocket();
    53                         virtual void tick(float dt);
     53            virtual void tick(float dt);
    5454            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a SimpleRocket through XML.
    5555
     
    6666            virtual void rotatePitch(const Vector2& value);
    6767            virtual void rotateRoll(const Vector2& value);
    68                         void setDestroy();
     68            void setDestroy();
    6969
    7070            /**
     
    9999            inline void rotatePitch(float value)
    100100            {   
    101                                 this->rotatePitch(Vector2(value, 0)); }
     101                this->rotatePitch(Vector2(value, 0)); }
    102102            /**
    103103            @brief Rotates the SimpleRocket around the z-axis by the specifed amount.
     
    106106            inline void rotateRoll(float value)
    107107            {
    108                                 this->rotateRoll(Vector2(value, 0)); }
     108                this->rotateRoll(Vector2(value, 0)); }
    109109
    110110            void setOwner(Pawn* owner);
Note: See TracChangeset for help on using the changeset viewer.