34 #ifndef _InvaderShip_H__    35 #define _InvaderShip_H__    49             virtual void tick(
float dt) 
override;
    52             virtual void moveFrontBack(
const Vector2& value) 
override;
    53             virtual void moveRightLeft(
const Vector2& value) 
override;
    56             virtual void boost(
bool bBoost) 
override;
    59             virtual void rotateYaw(
const Vector2& value)
 override{}; 
    62             virtual void rotateRoll(
const Vector2& value) 
override;
    64             virtual void updateLevel();
    66             virtual inline bool collidesAgainst(
WorldEntity* otherObject, 
const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) 
override;
    69             virtual void death() 
override;
    75             float speed, damping, posforeward;
    81             } velocity, desiredVelocity;
 WeakPtr< Invader > game
Definition: InvaderShip.h:72
 
WeakPtr< Projectile > lastShot
Definition: InvaderShip.h:84
 
Definition: CorePrereqs.h:309
 
Shared library macros, enums, constants and forward declarations for the weapons module  ...
 
float lastTimeLeft
Definition: InvaderShip.h:76
 
WeakPtr wraps a pointer to an object, which becomes nullptr if the object is deleted. 
Definition: CorePrereqs.h:236
 
WeakPtr< InvaderEnemy > lastEnemy
Definition: InvaderShip.h:83
 
Camera * camera
Definition: InvaderShip.h:73
 
The WorldEntity represents everything that can be put in a Scene at a certain location. 
Definition: WorldEntity.h:72
 
The SpaceShip is the principal entity through which the player interacts with the game...
Definition: SpaceShip.h:90
 
float speed
Definition: InvaderShip.h:75
 
#define _InvaderExport
Definition: InvaderPrereqs.h:60
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
virtual void rotateYaw(const Vector2 &value) override
Rotate in yaw direction. 
Definition: InvaderShip.h:59
 
Definition: InvaderShip.h:77
 
float x
Definition: InvaderShip.h:79
 
Shared library macros, enums, constants and forward declarations for the Invader module  ...
 
bool isFireing
Definition: InvaderShip.h:74
 
Definition: InvaderShip.h:44
 
float y
Definition: InvaderShip.h:80
 
virtual void rotatePitch(const Vector2 &value) override
Rotate in pitch direction. 
Definition: InvaderShip.h:60