YourCityInvadedByAliens
Documentation for code of the game
|
|
void move(long nElapsedTime, const CoordXY &minPointMap, const CoordXY &maxPointMap, int nLeftPad, int nRightPad, int nTopPad, int nBottomPad)
Definition: game_alien_ship_state.cpp:33
bool isShooting() const
Definition: game_alien_ship_state.cpp:25
void setShooting(bool bShooting)
Definition: game_alien_ship_state.cpp:21
void shot()
Definition: game_alien_ship_state.cpp:96
long m_nSpeedMoving
Definition: game_alien_ship_state.h:34
MoveObjectDirection
Definition: move_object_direction.h:3
int m_nMaxHealthPoints
Definition: game_alien_ship_state.h:38
Definition: game_rocket_state.h:6
const CoordXY & getPosition()
Definition: game_alien_ship_state.cpp:17
GameAlienShipState(const CoordXY &p0)
Definition: game_alien_ship_state.cpp:7
CoordXY m_p0
Definition: game_alien_ship_state.h:31
std::vector< GameBioplastState * > m_vBioplasts
Definition: game_alien_ship_state.h:36
void rocketAttack(GameRocketState *pRocket)
Definition: game_alien_ship_state.cpp:111
int getHelthPoints()
Definition: game_alien_ship_state.cpp:151
Definition: game_bioplast_state.h:5
int getMaxHelthPoints()
Definition: game_alien_ship_state.cpp:155
void setMoveDirection(MoveObjectDirection direction)
Definition: game_alien_ship_state.cpp:29
int m_nHealthPoints
Definition: game_alien_ship_state.h:37
GameBioplastState * popRocket()
Definition: game_alien_ship_state.cpp:102
bool m_bShooting
Definition: game_alien_ship_state.h:35
MoveObjectDirection m_moveDirection
Definition: game_alien_ship_state.h:32
long m_nMovePrevTime
Definition: game_alien_ship_state.h:33
Definition: game_alien_ship_state.h:8