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

abagames::a7xpg::A7xGameManager::A7xGameManager Class Reference

Inheritance diagram for abagames::a7xpg::A7xGameManager::A7xGameManager:

abagames::util::GameManager::GameManager

List of all members.


Detailed Description

Manage the game status and actor pools.

Definition at line 32 of file A7xGameManager.d.


Public Member Functions

void addBonus (int sc, Vector pos, float size)
void addEnemy (int type, float size, float speed)
void addGold ()
void addParticle (Vector pos, float deg, float ofs, float speed, float r, float g, float b)
void addScore (int sc)
override void close ()
override void draw ()
void getGold ()
override void init ()
override void move ()
void playSe (int n)
void restartStage ()
void setMainLoop (MainLoop mainLoop)
void setPrefManager (PrefManager prefManager)
void setUIs (Screen screen, Input input)
void shipDestroyed ()
override void start ()
void stopSe (int n)

Public Attributes

int status

Protected Attributes

PrefManager abstPrefManager
Screen abstScreen
Input input
MainLoop mainLoop

Private Types

enum  {
  TITLE, IN_GAME, STAGE_CLEAR, GAMEOVER,
  PAUSE
}

Private Member Functions

void drawHiScore ()
void drawScore ()
void drawStageTimer ()
void gameoverDraw ()
void gameoverDrawLuminous ()
void gameoverDrawStatus ()
void gameoverMove ()
void gotoNextStage ()
void inGameDraw ()
void inGameDrawLuminous ()
void inGameDrawStatus ()
void inGameMove ()
void initShipState ()
void pauseDrawStatus ()
void pauseMove ()
void resumePause ()
void setEyepos ()
void stageClearDraw ()
void stageClearDrawLuminous ()
void stageClearDrawStatus ()
void stageClearMove ()
void stageMove ()
void startGameover ()
void startInGame ()
void startInGameContinue ()
void startPause ()
void startStage (bool cont)
void startStageClear ()
void startTitle ()
void titleDraw ()
void titleDrawLuminous ()
void titleDrawStatus ()
void titleMove ()

Private Attributes

int appGold
Sound[3] bgm
ActorPool bonuses
bool btnPrsd
int cnt
int contCy
const int CONTINUE_ENABLE_SCORE = 100000
bool continueEnable
LuminousActorPool enemies
const int ENEMY_MAX = 32
int enemyAppInterval
int enemyNum
float[3][ENEMY_MAX] enemyTable
int enemyTableIdx
int enemyTimer
const int EVERY_EXTEND = 50000
int extendScore
Field field
const int FIRST_EXTEND = 20000
LuminousActorPool golds
bool gotoNextState
int lap
int left
const int LEFT_MAX = 9
int leftGold
LuminousActorPool particles
int pauseCnt
bool pPrsd = true
A7xPrefManager prefManager
Rand rand
int score
A7xScreen screen
Sound[12] se
Ship ship
int stage
const int STAGE_NUM = 30
int stageTimer
int state
float[][STAGE_NUM] stgData
int timeBonus
Texture titleTexture

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

Generated by  Doxygen 1.6.0   Back to index