mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PlayerObject.cpp
Go to the documentation of this file.
1 
6 #include "PlayerObject.h"
7 
8 PlayerObject::PlayerObject( float r, GLuint displayList ) : CameraObject( ), SpaceShip( r, displayList ), MovingObject( ) {
9  setShieldRecovering( true );
10 }
11 
12 PlayerObject::PlayerObject( Vector3 position , float r, GLuint displayList ) : CameraObject( position ), SpaceShip( r, displayList ), MovingObject( position ) {
13  setShieldRecovering( true );
14 }
15 
16 PlayerObject::PlayerObject( float x, float y, float z, float r, GLuint displayList ) : CameraObject( x, y, z ), SpaceShip( r, displayList ), MovingObject( x, y, z ), GameObject( x, y, z ) {
17  setShieldRecovering( true );
18 }
19 
21 
22 }
23 void PlayerObject::coolLaser( DWORD time ) {
24  SpaceShip::coolLaser( 3 * time );
25 }