Source Code (Use browser search to find items of interest.)

Class Index

kasteroids'KBit (./kdegames/kasteroids/sprites.h:34)

class KBit : public QwRealMobileSprite
{
public:
    KBit( QwSpritePixmapSequence *s ) : QwRealMobileSprite( s )
	{  death = 7; }
    virtual ~KBit() {}

    virtual int rtti() const
	{  return RTTI_BIT; }

    void setDeath( int d ) { death = d; }
    void growOlder() { death--; }
    bool expired() { return death <= 0; }

private:
    int death;
};