Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

IDrawableObject Class Reference

Interface for drawable objects. More...

#include <SpriteManager.h>

Inheritance diagram for IDrawableObject:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual bool Draw ()=0
 Draw the object on the screen.

virtual bool NeedToDraw ()=0
 Determinates if an object needs to be drawn.


Detailed Description

Interface for drawable objects.

Author:
Kronuz
Version:
1.0
Date:
April 16, 2003
IDrawableObject is used to provide an interface that allows an object to be drawn. It is an abstract class that must be implemented in any derivated class.

Definition at line 74 of file SpriteManager.h.


Member Function Documentation

virtual bool IDrawableObject::Draw   [pure virtual]
 

Draw the object on the screen.

Draw the object to the screen in its current state returns true if the object was drawn, or false if it was not drawn (this is not necessarily an error - the object may have determinated that it was obscured by others)

virtual bool IDrawableObject::NeedToDraw   [pure virtual]
 

Determinates if an object needs to be drawn.

Returns false if the object does not need to be drawn (i.e. off screen)


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 19:12:29 2003 for QuestDesigner by doxygen1.2.18