Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

cGreen_Ball Class Reference

classe des boules vertes More...

#include <ennemies.h>

Inheritance diagram for cGreen_Ball:

cEnnemy cUnit List of all members.

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


Detailed Description

classe des boules vertes

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.


Constructor & Destructor Documentation

cGreen_Ball::cGreen_Ball int  x,
int  y
 

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().


Member Function Documentation

bool cGreen_Ball::Get_Destination cPoint2D destination  )  [virtual]
 

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().

void cGreen_Ball::React_To_Green_Trap cGreen_Trap green_trap  )  [private, virtual]
 

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().


The documentation for this class was generated from the following files:
Generated on Fri May 21 19:22:37 2004 for LIBELL by doxygen 1.3.7