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

bullet.h

Go to the documentation of this file.
00001 
00012 #ifndef BULLET_H
00013 #define BULLET_H
00014 
00019 class CVisibleBulletInfo : public CMovingGameObj
00020 {
00021 public:
00023     CVisibleBulletInfo();
00034     CVisibleBulletInfo(const CVisibleBulletInfo *aBullet, float aXPos, float aYPos);
00036     virtual ~CVisibleBulletInfo();
00037     
00039     int bulletType();
00040 
00041 private:
00042     int mBulletType;
00043 };
00044 
00049 class CBulletInfo : public CVisibleBulletInfo
00050 {
00052     CBulletInfo();
00053 
00062     CBulletInfo(int aBulletType, float aXPos, float aYPos, float aDirection, float aVelocity);
00063 
00069     void chkCollision(const char **aTileMap, CBotInfo **aBots);
00070 
00072     virtual ~CBulletInfo();
00073 };
00074 
00075 #endif // BULLET_H

Generated on Mon Jun 9 22:02:24 2003 for Drunken Bot III by doxygen1.3-rc3