Orxonox  0.0.5 Codename: Arcturus
ShroomHUD.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * ORXONOX - the hottest 3D action shooter ever to exist
5  * > www.orxonox.net <
6  *
7  *
8  * License notice:
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23  *
24  * Author:
25  * Cyrill Burgener
26  *
27  */
28 
34 #ifndef _ShroomHUD_H__
35 #define _ShroomHUD_H__
36 
37 #include "OrxoKartPrereqs.h"
38 
39 #include "util/OgreForwardRefs.h"
42 
43 namespace orxonox
44 {
46  {
47  public:
48  ShroomHUD(Context* context);
49  virtual ~ShroomHUD();
50 
51  virtual void tick(float dt) override;
52  virtual void changedOwner() override;
53 
54  void setShroomCount(int shroomCount);
55 
56  private:
58  Ogre::PanelOverlayElement* panel_;
60  };
61 }
62 #endif /* _ShroomHUD_H__ */
Declaration of the Tickable interface.
Definition: ShroomHUD.h:45
OrxoKart * orxoKartGame_
Definition: ShroomHUD.h:57
int shroomCount_
Definition: ShroomHUD.h:59
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Ogre::PanelOverlayElement * panel_
Definition: ShroomHUD.h:58
Definition: OrxoKart.h:47
#define _OrxoKartExport
Definition: OrxoKartPrereqs.h:60
Definition: Context.h:45
Base class to display content directly onto the screen.
Definition: OrxonoxOverlay.h:72
Declaration of the OrxonoxOverlay class.
Shared library macros, enums, constants and forward declarations for the OrxoKart module ...
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52