#include <thing.h>
Inheritance diagram for CLift::
Public Methods | |
CLift () | |
virtual int | Tick () |
Called per frame to update this thing. Returning THING_DIE indicates that this "thing" should be deleted from the world. | |
virtual void | Draw () |
Called to draw this thing. Note that this does not get called if thing does not get drawn (i.e. if clipped out of visible viewport). Use Tick() for updating things that must be updated each frame. | |
virtual int | Action () |
Called when the user presses the action key while within the "action area" (bounds) of the thing. This function should return to the game information on what action to perform. This function *may* be superceded by the one below it. | |
virtual void | HeroLeave () |
Called when the hero leaves the bounds of this thing. Derived implementations should call parent implementation. | |
Protected Attributes | |
bool | m_bBusy |
http://www.scorpioncity.com/djgame.html Copyright (C) David Joffe. Generated: 15 Jul 2001 |