Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 22, 2014, 5:32:37 PM (10 years ago)
Author:
fvultier
Message:

Level wird zufaellig generiert, HUD funktionier(Punkte werden angezeigt), Diverse bugs behoben, Figur springt von allen Platformen korrekt ab.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickupsFS14/src/modules/jump/Jump.h

    r10040 r10041  
    4444#include "JumpCenterpoint.h"
    4545
     46#include <list>
     47
    4648namespace orxonox
    4749{
     
    7880            virtual void playerScored(PlayerInfo* player, int score = 1); //!< Is called when the player scored.
    7981
     82            virtual void addPlatform(JumpPlatform* newPlatform, float xPosition, float zPosition);
     83            virtual void addStartSection();
     84            virtual void addSection();
     85            virtual float randomXPosition();
     86            virtual float randomYPosition(float lowerBoundary, float upperBoundary);
     87
     88            int getScore(PlayerInfo* player) const;
     89
    8090            /**
    8191            @brief Set the JumpCenterpoint (the playing field).
     
    95105
    96106            WeakPtr<JumpCenterpoint> center_; //!< The playing field.
    97             WeakPtr<JumpPlatform> ball_; //!< The Jump ball.
     107            //WeakPtr<JumpPlatform> ball_; //!< The Jump ball.
    98108            WeakPtr<JumpFigure> figure_; //!< The two bats.
    99109            WeakPtr<Camera> camera;
     
    102112
    103113            float totalScreenShift;
     114            float screenShiftSinceLastUpdate;
     115            float sectionLength;
     116            int sectionNumber;
     117            std::list<JumpPlatform*> platformList;
    104118    };
    105119}
Note: See TracChangeset for help on using the changeset viewer.