| [10657] | 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: |
|---|
| [10659] | 23 | * Cyrill Burgener |
|---|
| [10657] | 24 | * Co-authors: |
|---|
| 25 | * ... |
|---|
| 26 | * |
|---|
| 27 | */ |
|---|
| 28 | |
|---|
| 29 | /** |
|---|
| [10659] | 30 | @file HoverShip.h |
|---|
| 31 | @brief Declaration of the HoverShip class. |
|---|
| [10657] | 32 | */ |
|---|
| 33 | |
|---|
| [10659] | 34 | #ifndef _HoverShip_H__ |
|---|
| 35 | #define _HoverShip_H__ |
|---|
| [10657] | 36 | |
|---|
| 37 | |
|---|
| [10662] | 38 | #include "HoverPrereqs.h" |
|---|
| [10657] | 39 | |
|---|
| 40 | #include "core/XMLPort.h" |
|---|
| 41 | #include "worldentities/pawns/SpaceShip.h" |
|---|
| 42 | #include "graphics/Camera.h" |
|---|
| 43 | |
|---|
| [10659] | 44 | #include "Hover.h" // Is necessary for getGame function |
|---|
| [10657] | 45 | |
|---|
| 46 | namespace orxonox |
|---|
| 47 | { |
|---|
| [10661] | 48 | class _HoverExport HoverShip : public SpaceShip |
|---|
| [10657] | 49 | { |
|---|
| 50 | public: |
|---|
| [10661] | 51 | HoverShip(Context* context); |
|---|
| [10657] | 52 | |
|---|
| 53 | virtual void tick(float dt); |
|---|
| 54 | |
|---|
| [10760] | 55 | /*virtual void moveFrontBack(const Vector2& value); |
|---|
| [10694] | 56 | |
|---|
| 57 | virtual void moveRightLeft(const Vector2& value); |
|---|
| 58 | |
|---|
| 59 | virtual void moveUpDown(const Vector2& value); |
|---|
| 60 | |
|---|
| 61 | virtual void rotateYaw(const Vector2& value); |
|---|
| 62 | |
|---|
| 63 | virtual void rotatePitch(const Vector2& value); |
|---|
| 64 | |
|---|
| [10760] | 65 | virtual void rotateRoll(const Vector2& value);*/ |
|---|
| [10694] | 66 | |
|---|
| [10760] | 67 | virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* cs, btManifoldPoint& contactPoint); |
|---|
| [10694] | 68 | |
|---|
| 69 | virtual void boost(bool bBoost); |
|---|
| 70 | |
|---|
| 71 | }; |
|---|
| [10657] | 72 | } |
|---|
| 73 | |
|---|
| [10665] | 74 | #endif /* _HoverShip_H__ */ |
|---|