#include <objects_common.h>
Inheritance diagram for Item:


Public Member Functions | |
| Item (Sint16 xpos=0, Sint16 ypos=0, const ParameterMap ¶m=ParameterMap()) | |
| virtual bool | act (Object *) |
| void | setOwner (Player *plr) |
| Assigns the item a new (player) owner. | |
Static Public Attributes | |
| ParameterMap | default_parameters |
Protected Attributes | |
| Player * | owner |
An item doesn't interact with other objects besides players who can pick them up and store, use or drop them
|
|
Try to activate any objects in the current position
Reimplemented from Object.
Reimplemented in Bomb, Heart, and Key.
|
1.3.8