Logo Search packages:      
Sourcecode: parsec47 version File versions  Download package

abagames::p47::BulletActor::BulletActor Class Reference

Inheritance diagram for abagames::p47::BulletActor::BulletActor:

abagames::util::Actor::Actor

List of all members.


Detailed Description

Actor of the bullet.

Definition at line 26 of file BulletActor.d.


Public Member Functions

override void draw ()
override void init (ActorInitializer ini)
override void move ()
override Actor newActor ()
void remove ()
void rewind ()
void set (float x, float y, float deg, float speed, float rank, float speedRank, int shape, int color, float size, float xReverse)
void set (BulletMLRunner *runner, float x, float y, float deg, float speed, float rank, float speedRank, int shape, int color, float size, float xReverse, BulletMLParser *morph[], int morphNum, int morphIdx, int morphCnt)
void set (BulletMLRunner *runner, float x, float y, float deg, float speed, float rank, float speedRank, int shape, int color, float size, float xReverse)
void setInvisible ()
void setTop (BulletMLParser *parser)
void toRetro ()

Static Public Member Functions

static void createDisplayLists ()
static void deleteDisplayLists ()
static void init ()
static void resetTotalBulletsSpeed ()

Public Attributes

P47Bullet bullet
bool isExist

Static Public Attributes

static const int BULLET_COLOR_NUM = 4
static const int BULLET_SHAPE_NUM = 7
static float totalBulletsSpeed

Private Member Functions

void checkShipHit ()
void drawRetro (float d)
void removeForced ()
void start (float speedRank, int shape, int color, float size, float xReverse)

Private Attributes

bool backToRetro
int cnt
Field field
bool isSimple
bool isTop
bool isVisible
BulletMLParser * parser
Vector ppos
const float RETRO_CNT = 24
float rtCnt
Ship ship
const float SHIP_HIT_WIDTH = 0.2
bool shouldBeRemoved

Static Private Attributes

static int BULLET_DISAPPEAR_CNT = 180
static const float bulletColor [BULLET_COLOR_NUM][3]
static int displayListIdx
static const float FIELD_SPACE = 0.5
static int nextId
static const float SHAPE_BASE_COLOR_B = 0.7
static const float SHAPE_BASE_COLOR_G = 0.9
static const float SHAPE_BASE_COLOR_R = 1
static const float SHAPE_POINT_SIZE = 0.1
static const float shapePos [BULLET_SHAPE_NUM][][3]

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index