Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2010, 6:12:13 PM (14 years ago)
Author:
gnadler
Message:

rockets get target but moveToPosition function does not work correctly.

File:
1 edited

Legend:

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

    r6903 r6905  
    5353            virtual void tick(float dt);
    5454                        SimpleRocket* getRocket(){return this->rocket;};
    55                         void setTarget(Pawn* target);
     55                        void setTarget(WorldEntity* target);
    5656        protected:
    57 
     57                        void moveToPosition(const Vector3& target);
     58                        void setTargetPosition();
     59                        void moveToTargetPosition();
    5860
    5961        private:
    6062                        SimpleRocket* rocket;
     63                        Vector3 targetPosition_;
    6164                        WeakPtr<PlayerInfo> player_;
    6265                                                int haha;
    63                         WeakPtr<Pawn> target_;
     66                        WeakPtr<WorldEntity> target_;
    6467
    6568
Note: See TracChangeset for help on using the changeset viewer.