Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

Heart Class Reference

Healing item. More...

#include <heart.h>

Inheritance diagram for Heart:

Inheritance graph
[legend]
Collaboration diagram for Heart:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Heart (Sint16 xpos=0, Sint16 ypos=0, const ParameterMap &param=ParameterMap())
virtual bool act (Object *obj)

Static Public Attributes

ParameterMap default_parameters

Detailed Description

Healing item.

Heals the player by one point when used.


Member Function Documentation

virtual bool Heart::act Object obj  )  [virtual]
 

Try to activate any objects in the current position

Returns:
True if an object could be activated

Reimplemented from Item.


The documentation for this class was generated from the following file:
Generated on Sun Feb 5 13:02:37 2006 for Lost Penguins by doxygen 1.3.8