gzdoom/src/g_shared/a_weaponpiece.h
2006-05-10 02:40:43 +00:00

17 lines
398 B
C++

class AWeaponPiece : public AInventory
{
DECLARE_CLASS (AWeaponPiece, AInventory)
protected:
bool PrivateShouldStay ();
public:
void Serialize (FArchive &arc);
bool TryPickup (AActor *toucher);
bool ShouldStay ();
virtual const char *PickupMessage ();
virtual void PlayPickupSound (AActor *toucher);
int PieceValue;
const PClass * WeaponClass;
AWeapon * FullWeapon;
};