Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2013, 3:53:08 PM (10 years ago)
Author:
zifloria
Message:

yeaHHH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/invaders/src/modules/invader/InvaderEnemy.h

    r9829 r9854  
    5050            virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);
    5151            virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator);
     52            virtual void setPlayer(WeakPtr<InvaderShip> player){this->player = player;}
    5253
     54            int level;
    5355        private:
    5456            WeakPtr<Invader> getGame();
    5557            WeakPtr<Invader> game;
     58            WeakPtr<InvaderShip> player;
    5659            Camera* camera;
    5760            bool isFireing;
    5861            float speed, damping;
    5962            float lastTimeFront, lastTimeLeft;
     63            float lifetime;
    6064            struct Velocity
    6165            {
Note: See TracChangeset for help on using the changeset viewer.