Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 11, 2018, 4:49:56 PM (6 years ago)
Author:
landauf
Message:

fixed crash when setting highscore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Presentation_HS17_merge/src/modules/asteroids2D/Asteroids2DStone.h

    r11666 r11729  
    5353            Vector3 randomPosition (float maxwidth, float maxheight);
    5454            Vector3 randomVelocity(float maxspeed);
    55             void setAsteroids2DPlayer(Asteroids2DShip* player){this->player = player;};
    5655            virtual int getSize(){ return this->size;}
    5756            virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override;
     
    6261          Asteroids2D* getGame();
    6362          WeakPtr<Asteroids2D> game;
    64           WeakPtr<Asteroids2DShip> player;         
    6563                int size;                               // three sizes, 3-> two 2s, 2-> two 1s, 1-> die
    6664                float width, height;    //field
Note: See TracChangeset for help on using the changeset viewer.