Orxonox  0.0.5 Codename: Arcturus
SOBGumbaBoss.h
Go to the documentation of this file.
1 /*
2  * ORXONOX - the hottest 3D action shooter ever to exist
3  * > www.orxonox.net <
4  *
5  *
6  * License notice:
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  * Author:
23  * Noah Zarro
24  * Theo von Arx
25  * Co-authors:
26  *
27  *
28  */
29 
36 #ifndef _SOBGumbaBoss_H__
37 #define _SOBGumbaBoss_H__
38 
41 
42 
43 namespace orxonox
44 {
46  {
47  public:
48  SOBGumbaBoss(Context* context);
49  virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override;
50  virtual void tick(float dt) override;
51 
52  void spawnGumba();
53 
54 
55  protected:
56  float gumbaTime_;
58  float jumpTimeMax_;
59  float jumpTime_;
61 
62 
63 
64 
65  };
66 }
67 
68 #endif /* _SOBGumbaBoss_H__ */
#define _SOBExport
Definition: SOBPrereqs.h:60
float jumpTime_
Definition: SOBGumbaBoss.h:59
The WorldEntity represents everything that can be put in a Scene at a certain location.
Definition: WorldEntity.h:72
float gumbaMaxTime_
Definition: SOBGumbaBoss.h:57
int maxGumbas_
Definition: SOBGumbaBoss.h:60
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Definition: Context.h:45
Definition: SOBGumba.h:44
Definition: SOBGumbaBoss.h:45
float jumpTimeMax_
Definition: SOBGumbaBoss.h:58
float gumbaTime_
Definition: SOBGumbaBoss.h:56
Shared library macros, enums, constants and forward declarations for the SOB module ...