[Gcblue-commits] gcb_wx/include/sim tcWeaponObject.h,1.3,1.4
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-07-23 00:45:55
|
Update of /cvsroot/gcblue/gcb_wx/include/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3451/include/sim Modified Files: tcWeaponObject.h Log Message: Index: tcWeaponObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcWeaponObject.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tcWeaponObject.h 1 May 2004 21:49:24 -0000 1.3 --- tcWeaponObject.h 23 Jul 2004 00:45:46 -0000 1.4 *************** *** 42,45 **** --- 42,46 ---- { public: + bool IsDetonated(); /// returns true if id is intended target of this weapon bool IsIntendedTarget(long id); *************** *** 49,56 **** --- 50,60 ---- protected: long intendedTarget; + bool fuseHasTriggered; ///< set true when weapon detonates virtual tcUpdateStream& operator<<(tcUpdateStream& stream); virtual tcUpdateStream& operator>>(tcUpdateStream& stream); + void Detonate(); + tcWeaponObject(); tcWeaponObject(tcWeaponObject&); |