Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Presentation_FS19/src/modules/OrxoBlox/OrxoBloxScore.h @ 12411

Last change on this file since 12411 was 12396, checked in by pomselj, 6 years ago

Jesus safed our souls and stopped the crashing. Hallowed be his name and hallowed be his followers sevy and aryo, first of their names, saviors of the andals the raynars and the first nerds. Fourier is love btw

File size: 1004 bytes
Line 
1#ifndef _OrxoBloxScore_H__
2#define _OrxoBloxScore_H__
3
4#include "OrxoBlox/OrxoBloxPrereqs.h"
5
6#include "tools/interfaces/Tickable.h"
7
8#include "overlays/OverlayText.h"
9
10namespace orxonox
11{
12
13    /**
14    @brief
15        The OrxoBloxScore class displays the score for a game of @ref orxonox::OrxoBlox "OrxoBlox".
16
17    @author
18        Fabian 'x3n' Landau
19
20    @ingroup OrxoBlox
21    */
22    class _OrxoBloxExport OrxoBloxScore : public OverlayText, public Tickable
23    {
24        public:
25            OrxoBloxScore(Context* context);
26            virtual ~OrxoBloxScore();
27
28            virtual void tick(float dt) override; //!< Creates and sets the caption to be displayed by the OrxoBloxScore.
29            virtual void changedOwner() override; //!< Is called when the owner changes.
30
31
32        private:
33            OrxoBlox* owner_; //!< The OrxoBlox game that owns this OrxoBloxScore.
34            PlayerInfo* player_; //!< Store information about the player permanently.
35    };
36}
37#endif /* _OrxoBloxScore_H__ */
Note: See TracBrowser for help on using the repository browser.