Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CDust Class Reference

#include <thing.h>

Inheritance diagram for CDust::

CThing List of all members.

Public Methods

 CDust ()
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.


Protected Attributes

int m_anAnim [4]
 Animation phase for up to four puffs.

int m_anX [4]
 X positions of puffs.

int m_anY [4]
 Y positions of puffs.

int m_nPuff
 Current puff [0,3].


Detailed Description

Dust. Gets kicked up when e.g. hero falls onto ground.


The documentation for this class was generated from the following file:

http://www.scorpioncity.com/djgame.html
Copyright (C) David Joffe. Generated: 23 Sep 2001