Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2017, 9:21:25 AM (7 years ago)
Author:
vyang
Message:

Kommentare hinzugefuegt und Projektile in die richtige Richtung ausgerichtet.

File:
1 edited

Legend:

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

    r11660 r11668  
    6363            virtual void rotatePitch(const Vector2& value) override{}; // Rotate in pitch direction.
    6464            virtual void rotateRoll(const Vector2& value) override{}; // Rotate in roll direction.
    65             virtual void boost(bool boost) override;
     65            virtual void boost(bool boost) override; //Override, so that the ship does not shake
    6666            virtual void updateLevel();
    6767
    6868            virtual inline bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override;
    6969
    70             float speed, damping;
    7170            bool isFireing;
     71           
     72            /*Functions that can be helpful while debugging.
     73                - Set a timer so that the function is called for instance every 3s to display the coordinates
     74                - Open console with "~`"-key in when you start the Asteroids2D - Minigame.
     75            */
    7276            void showposition();
    7377            void showorientation();
     78
     79
    7480            void toggleImmune()
    7581            {
Note: See TracChangeset for help on using the changeset viewer.