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

Key Class Reference

Key item. More...

#include <key.h>

Inheritance diagram for Key:

Inheritance graph
Collaboration diagram for Key:

Collaboration graph
List of all members.

Public Member Functions

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

Static Public Attributes

ParameterMap default_parameters

Detailed Description

Key item.

Can be used to unlock a door by using it with a Lock trigger.

Member Function Documentation

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

Try to activate any objects in the current position

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