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

GE_Attack Class Reference

#include <Event.h>

Inherits GE.

Inheritance diagram for GE_Attack:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GE_Attack (int playerid, int attacktype, float x, float y, float z, float dx, float dy, float dz)
int getAttackType ()
Vec3 getPos ()
Vec3 getDir ()

Private Attributes

int attacktype
int playerid
float x
float y
float z
float dx
float dy
float dz

Detailed Description

Definition at line 30 of file Event.h.


Constructor & Destructor Documentation

GE_Attack::GE_Attack int  playerid,
int  attacktype,
float  x,
float  y,
float  z,
float  dx,
float  dy,
float  dz
 

Definition at line 14 of file Event.cpp.

References E_ATTACK, and GE::type.


Member Function Documentation

int GE_Attack::getAttackType  ) 
 

Definition at line 27 of file Event.cpp.

References attacktype.

Referenced by Play::networkLoop().

Vec3 GE_Attack::getDir  ) 
 

Definition at line 36 of file Event.cpp.

References dx, dy, and dz.

Referenced by Play::networkLoop().

Vec3 GE_Attack::getPos  ) 
 

Definition at line 32 of file Event.cpp.

References x, y, and z.

Referenced by Play::networkLoop().


Member Data Documentation

int GE_Attack::attacktype [private]
 

Definition at line 32 of file Event.h.

Referenced by getAttackType().

float GE_Attack::dx [private]
 

Definition at line 37 of file Event.h.

Referenced by getDir().

float GE_Attack::dy [private]
 

Definition at line 38 of file Event.h.

Referenced by getDir().

float GE_Attack::dz [private]
 

Definition at line 39 of file Event.h.

Referenced by getDir().

int GE_Attack::playerid [private]
 

Definition at line 33 of file Event.h.

float GE_Attack::x [private]
 

Definition at line 34 of file Event.h.

Referenced by getPos().

float GE_Attack::y [private]
 

Definition at line 35 of file Event.h.

Referenced by getPos().

float GE_Attack::z [private]
 

Definition at line 36 of file Event.h.

Referenced by getPos().


Generated on Sun Jun 5 15:49:31 2005 for Defacto by  doxygen 1.4.3