Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 1, 2017, 6:38:00 PM (6 years ago)
Author:
vyang
Message:

Asteroids werden random geladen→ collisionShape und Bewegung einstellen

File:
1 edited

Legend:

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

    r11593 r11614  
    3838#include "asteroids2D/Asteroids2DPrereqs.h"
    3939
    40 #include "worldentities/MovableEntity.h"
     40#include "worldentities/pawns/Pawn.h"
    4141
    4242
    4343namespace orxonox
    4444{
    45     class _Asteroids2DExport Asteroids2DCube : public MovableEntity
     45    class _Asteroids2DExport Asteroids2DCube : public Pawn
    4646    {
    4747       public:
    4848            Asteroids2DCube(Context* context);
     49            virtual void tick(float dt) override;
    4950
    5051       private:
     52                int size;                               // three sizes, 3-> two 2s, 2-> two 1s, 1-> die
     53                float width, height;    //field
    5154    };
    5255}
Note: See TracChangeset for help on using the changeset viewer.