#include <Bullet.h>
Inherits TSprite.
|
| TBullet (double a_dX, double a_dY, double a_dSpeed, double a_dAngle, int a_nZ, ID a_nKind, MEMBER a_Member) |
|
| TBullet () |
|
void | Do_ai () |
| ** VIRTUAL ** Enter AI routine Called by Engine More...
|
|
void | Draw (double a_dCamX, double a_dCamY) |
| ** VIRTUAL ** Draw the sprite. is sprite and camera are in the same position, the sprite will be in the middle of the screen ! Called by Engine More...
|
|
virtual void | Move (double a_dLagCount) |
| ** VIRTUAL ** Move the sprite according to its speed. Called by Engine More...
|
|
virtual void | DoCollision (TSprite *const a_pSprite) |
| ** VIRTUAL ** Handle collision if m_blCanCollide is true Called by Engine More...
|
|
void | SetPosition (double a_dX, double a_dY, double a_dAngle) |
| Sets the position of this sprite. More...
|
|
void | SetPosition (double a_dX, double a_dY) |
| Sets the position of this sprite. More...
|
|
void | SetHeight (int a_nHeight) |
| Sets the Height Z position ( drawing order) More...
|
|
void | SetSpeed (double a_dSpeed) |
| Sets the Speed. More...
|
|
void | SetImage (ALLEGRO_BITMAP *a_pImage) |
| Sets the Image of the sprite. More...
|
|
double | GetX () |
| Get the X position. More...
|
|
double | GetY () |
| Get the Y position. More...
|
|
| TSprite () |
| Basic sprite constructor. More...
|
|
virtual | ~TSprite () |
|
TBullet::TBullet |
( |
double |
a_dX, |
|
|
double |
a_dY, |
|
|
double |
a_dSpeed, |
|
|
double |
a_dAngle, |
|
|
int |
a_nZ, |
|
|
ID |
a_nKind, |
|
|
MEMBER |
a_Member |
|
) |
| |
** VIRTUAL ** Enter AI routine Called by Engine
Reimplemented from TSprite.
void TBullet::Draw |
( |
double |
a_dCamX, |
|
|
double |
a_dCamY |
|
) |
| |
|
virtual |
** VIRTUAL ** Draw the sprite. is sprite and camera are in the same position, the sprite will be in the middle of the screen ! Called by Engine
- Parameters
-
double | a_dCamX X position of the CENTER of the camera |
double | a_dCamY X position of the CENTER of the camera |
Reimplemented from TSprite.
The documentation for this class was generated from the following files: