#include <ennemies.h>
Inheritance diagram for cRed_Ball:
Public Member Functions | |
cRed_Ball (int x, int y) | |
constructeur | |
bool | Get_Destination (cPoint2D &destination) |
cherche un point ou aller | |
Private Member Functions | |
void | React_To_Red_Trap (cRed_Trap *red_trap) |
reagit ŕ un piege rouge |
les boules rouges ont le comportement suivant : ! -> rapides ! -> ont un view-range limité ! -> se laisse pieger par les hologrammes ! /************************************************************************************************
Definition at line 93 of file ennemies.h.
|
constructeur x,y : position Definition at line 146 of file ennemies.cpp. References cRed_Ball(), Game_Manager, POINTS_WHEN_BOMB_RED_BALL, RAYON_RED_BALL, and SPEED_RED_BALL. Referenced by cRed_Ball(). |
|
cherche un point ou aller
Reimplemented from cEnnemy. Definition at line 160 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_RED_BALL. Referenced by Get_Destination(). |
|
reagit ŕ un piege rouge
Reimplemented from cUnit. Definition at line 152 of file ennemies.cpp. References Game_Manager, cGame_Manager::Id_Level, cGame_Manager::Kill_Ennemy(), POINTS_WHEN_TRAP_RED_BALL, React_To_Red_Trap(), and cGame_Manager::Score. Referenced by React_To_Red_Trap(). |