#include <ennemies.h>
Inheritance diagram for cGreen_Ball:
Public Member Functions | |
cGreen_Ball (int x, int y) | |
constructeur | |
bool | Get_Destination (cPoint2D &destination) |
cherche un point ou aller | |
Private Member Functions | |
void | React_To_Green_Trap (cGreen_Trap *green_trap) |
reagit ŕ un piege vert |
les boules rouges ont le comportement suivant : ! -> lentes ! -> ont un view-range illimité ! -> savent faire la difference entre un hologramme et le joueur ! /************************************************************************************************
Definition at line 139 of file ennemies.h.
|
constructeur x,y : position Definition at line 248 of file ennemies.cpp. References cGreen_Ball(), Game_Manager, POINTS_WHEN_BOMB_GREEN_BALL, RAYON_GREEN_BALL, and SPEED_GREEN_BALL. Referenced by cGreen_Ball(). |
|
cherche un point ou aller
Reimplemented from cEnnemy. Definition at line 261 of file ennemies.cpp. References Game_Manager, Get_Destination(), cGame_Manager::Player, cUnit::Px, cUnit::Py, and cPoint2D::Set(). Referenced by Get_Destination(). |
|
reagit ŕ un piege vert
Reimplemented from cUnit. Definition at line 254 of file ennemies.cpp. References Game_Manager, cGame_Manager::Id_Level, cGame_Manager::Kill_Ennemy(), POINTS_WHEN_TRAP_GREEN_BALL, React_To_Green_Trap(), and cGame_Manager::Score. Referenced by React_To_Green_Trap(). |