#include <ennemies.h>
Inheritance diagram for cBlue_Ball:
Public Member Functions | |
cBlue_Ball (int x, int y) | |
constructeur | |
bool | Get_Destination (cPoint2D &destination) |
cherche un point ou aller | |
Private Member Functions | |
void | React_To_Blue_Trap (cBlue_Trap *blue_trap) |
reagit à un piege bleu |
les boules rouges ont le comportement suivant : ! -> vitesse moyenne ! -> ont un view-range assez grand ! -> se laisse pieger par les hologrammes /************************************************************************************************
Definition at line 116 of file ennemies.h.
|
constructeur x,y : position Definition at line 198 of file ennemies.cpp. References cBlue_Ball(), Game_Manager, POINTS_WHEN_BOMB_BLUE_BALL, RAYON_BLUE_BALL, and SPEED_BLUE_BALL. Referenced by cBlue_Ball(). |
|
cherche un point ou aller
Reimplemented from cEnnemy. Definition at line 212 of file ennemies.cpp. References cGame_Manager::Bonus_List, Game_Manager, Get_Destination(), Get_Square_Distance(), HOLOGRAMME, cGame_Manager::Player, cUnit::Px, cUnit::Py, cPoint2D::Set(), and SQUARE_VIEW_RANGE_BLUE_BALL. Referenced by Get_Destination(). |
|
reagit à un piege bleu
Reimplemented from cUnit. Definition at line 204 of file ennemies.cpp. References Game_Manager, cGame_Manager::Id_Level, cGame_Manager::Kill_Ennemy(), POINTS_WHEN_TRAP_BLUE_BALL, React_To_Blue_Trap(), and cGame_Manager::Score. Referenced by React_To_Blue_Trap(). |