00001 #include "objects_common.h" 00002 00003 00008 class Heart : public Item { 00009 public: 00010 Heart(Sint16 xpos=0, Sint16 ypos=0, const ParameterMap& param=ParameterMap()); 00011 virtual ~Heart(); 00012 static ParameterMap default_parameters; 00013 virtual bool act(Object* obj); 00014 private: 00015 Uint8 alife; 00016 };