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

abagames::p47::EnemyType::EnemyType Class Reference

List of all members.


Detailed Description

Enemys' specifications.

Definition at line 65 of file EnemyType.d.


Public Types

enum  {
  SMALL, MIDDLE, LARGE, MIDDLEBOSS,
  LARGEBOSS
}
enum  { ROLL, LOCK }

Public Member Functions

void setLargeBossEnemyType (float rank, int mode)
void setLargeEnemyType (float rank, int mode)
void setMiddleBossEnemyType (float rank, int mode)
void setMiddleEnemyType (float rank, int mode)
void setSmallEnemyType (float rank, int mode)

Static Public Member Functions

static void clearIsExistList ()
static void init (BarrageManager manager)

Public Attributes

float b
Barrage barrage [BARRAGE_PATTERN_MAX]
int barragePatternNum
int batteryNum
BatteryType batteryType [BATTERY_MAX]
Vector bodyShapePos [BODY_SHAPE_POINT_NUM]
Vector collisionSize
int fireInterval
int firePeriod
float g
int id
float r
float retroSize
int shield
int type
bool wingCollision

Static Public Attributes

static const int BARRAGE_PATTERN_MAX = BatteryType.BARRAGE_PATTERN_MAX
static const int BATTERY_MAX = 4
static const int BODY_SHAPE_POINT_NUM = 4
static const int BULLET_COLOR_NUM = 4
static const int BULLET_SHAPE_NUM = 7
static const int ENEMY_TYPE_MAX = 32
static bool isExist [ENEMY_TYPE_MAX]

Private Types

enum  { NORMAL, WEAK, VERYWEAK, MORPHWEAK }
enum  {
  SMALL, MIDDLE, LARGE, MIDDLEBOSS,
  LARGEBOSS
}

Private Member Functions

void createEnemyColor ()
void setBarrageRank (Barrage br, float rank, int intense, int mode)
void setBarrageRankSlow (Barrage br, float rank, int intense, int mode, float slow)
void setBarrageShape (Barrage br, float size)
void setBarrageType (Barrage br, int btn, int mode)
void setBattery (float rank, int n, int barrageType, int barrageIntense, int idx, int ptnIdx, float slow, int mode)
void setEnemyColorType ()
void setEnemyShapeAndWings (int size)

Private Attributes

float eb
int ect
float eg
float er

Static Private Attributes

static BarrageManager barrageManager
static const float[][] enemySize
static int idCnt
static Rand rand
static bool usedMorphParser [BarrageManager.BARRAGE_MAX]

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

Generated by  Doxygen 1.6.0   Back to index