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

abagames::p47::StageManager::StageManager Class Reference

List of all members.


Detailed Description

Manage the stage data(enemies' appearance).

Definition at line 24 of file StageManager.d.


Public Types

enum  { TOP, SIDE, BACK }
enum  { ONE_SIDE, ALTERNATE, BOTH_SIDES }
enum  { RANDOM, FIXED }
enum  { SMALL, MIDDLE, LARGE }

Public Member Functions

void init (P47GameManager gm, BarrageManager bm, Field f)
void move ()
void setRank (float baseRank, float inc, int startParsec, int type)

Public Attributes

bool bossSection
int parsec

Static Public Attributes

static const int STAGE_TYPE_NUM = 4

Private Member Functions

void createEnemyData ()
void createSectionData ()
void createStage ()
void gotoNextSection ()
void setAppearance (EnemyAppearance *ap, int type)
void setAppearancePattern (EnemyAppearance *ap)
void setLargeAppearance (EnemyAppearance *ap)
void setMiddleAppearance (EnemyAppearance *ap)
void setSmallAppearance (EnemyAppearance *ap)

Private Attributes

int apNum
Vector apos
const int apparancePattern [][][3]
EnemyAppearance appearance [SIMULTANEOUS_APPEARNCE_MAX]
BarrageManager barrageManager
Field field
P47GameManager gameManager
const int LARGE_ENEMY_TYPE_MAX = 2
EnemyType largeBossType
EnemyType largeType [LARGE_ENEMY_TYPE_MAX]
const int MIDDLE_ENEMY_TYPE_MAX = 4
const int MIDDLE_RUSH_SECTION_PATTERN = 6
EnemyType middleBossType
bool middleRushSection
int middleRushSectionNum
EnemyType middleType [MIDDLE_ENEMY_TYPE_MAX]
Rand rand
float rank
float rankInc
int section
int sectionCnt
int sectionIntervalCnt
const int SIMULTANEOUS_APPEARNCE_MAX = 4
const int SMALL_ENEMY_TYPE_MAX = 3
EnemyType smallType [SMALL_ENEMY_TYPE_MAX]
int stageType

Classes

struct  EnemyAppearance

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

Generated by  Doxygen 1.6.0   Back to index