Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2017, 6:25:56 PM (6 years ago)
Author:
vyang
Message:

Problem, dass Leben mehrmals durch einen Asteroiden abgezogen wird, wurde behoben

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Asteroid_HS17/src/modules/asteroids2D/Asteroids2DShip.h

    r11637 r11643  
    3838#include "asteroids2D/Asteroids2DPrereqs.h"
    3939
     40
    4041#include "core/XMLPort.h"
    4142#include "worldentities/pawns/SpaceShip.h"
     43#include "weapons/WeaponsPrereqs.h"
    4244#include "graphics/Camera.h"
    4345
    4446#include "Asteroids2D.h" // Is necessary for getGame function
    4547//#include "Asteroids2DCenterPoint.h"
     48#include "Asteroids2DStone.h"
    4649
    4750#include "tools/Timer.h"
     
    8083        private:
    8184            Asteroids2D* getGame();
     85
    8286            float width, height;
    8387            WeakPtr<Asteroids2D> game;
    84             WeakPtr<WorldEntity> lastEntity;
    85             struct Velocity
    86             {
    87                 float x;
    88                 float y;
    89             } velocity, desiredVelocity;
     88            WeakPtr<Asteroids2DStone> lastStone;
    9089
    9190            Timer timer;
Note: See TracChangeset for help on using the changeset viewer.