#include <plant.h>
Inheritance diagram for Plant:
Public Member Functions | |
Plant (Sint16 xpos=0, Sint16 ypos=0, const ParameterMap ¶m=ParameterMap()) | |
virtual void | touch (Object *) |
virtual void | idle (Uint16) |
virtual Uint16 | hit (Uint16 direction, Weapon &weap) |
Weapon hits. | |
Static Public Attributes | |
ParameterMap | default_parameters |
|
Touch an object, called when the object position overlaps with the position of another object for the first time. Reimplemented from Object.
|
|
What should the object do all the time? This is run first of all.
Reimplemented from Monster.
|
|
Weapon hits. Called when hit by a weapon. Depending on the direction and weapon used, certain effects/events are run.
Reimplemented from Monster.
|