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

CFloatingScore Class Reference

#include <thing.h>

Inheritance diagram for CFloatingScore::

CThing List of all members.

Public Methods

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

void SetScore (int score)

Public Attributes

int m_height
unsigned char m_buffer [16]
int m_bufferlength

Detailed Description

Those floating score thingies that appear when hero scores points. These are not placed in the level editor, they are dynamically generated by the game when events occur that must result in these.


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

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