Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals   Related Pages  

CVisibleBulletInfo Class Reference

Public class for bullets When bots see a bullet, this is the info they get of it. More...

#include <bullet.h>

Inheritance diagram for CVisibleBulletInfo:

CMovingGameObj CGameObj CBulletInfo

Public Member Functions

 CVisibleBulletInfo ()
 Default constructor.

 CVisibleBulletInfo (const CVisibleBulletInfo *aBullet, float aXPos, float aYPos)
 Copy constructor.

virtual ~CVisibleBulletInfo ()
 Destructor.

int bulletType ()
 Getter for the bullet type.


Detailed Description

Public class for bullets When bots see a bullet, this is the info they get of it.


Constructor & Destructor Documentation

CVisibleBulletInfo::CVisibleBulletInfo (  const CVisibleBulletInfo *    aBullet,
float    aXPos,
float    aYPos
) 
 

Copy constructor.

This will only be called with data of type CBulletInfo, and will change coordinates from absolute to relative, thus needing current location of the bot

Parameters:
aBullet The private info of the bullet
aXPos Current X coordinate of the bot
aYPos Current Y coordinate of the bot


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 22:02:26 2003 for Drunken Bot III by doxygen1.3-rc3