CFx Class Reference

Base class for all managed effects. More...

#include <fx.h>

Inheritance diagram for CFx:

CFxBrass CFxHole

List of all members.

Public Types

Enum data
enum  eType { kFXHole = 1, kFXBrassEject }
 FX type enums. More...

Public Member Functions

Create methods
 CFx ()
virtual ~CFx ()
Virtual methods
These will be overridden by derived FXs.

virtual void update ()=0
 Update this FX for a single frame.
virtual void remove ()=0
 Remove effect.
virtual bool is_done ()=0
 
Returns:
true if effect is done or idle (safe to remove).


Detailed Description

Base class for all managed effects.

(c) 2007-2008 oP group Germany GbR. All rights reserved.
This source code is provided "as is" with no warranty and must not be distributed without written permission.

Author:
Doug Poston
Version:
1.3
Date:
12/28/2007

Member Enumeration Documentation

enum CFx::eType

FX type enums.

Enumerator:
kFXHole  Bullet hole drawn at Pos (Vel = facing normal).
kFXBrassEject  Draw spent casings from Pos 90o from Vel.


The documentation for this class was generated from the following file:
Generated on Fri Dec 28 12:55:07 2007 for template7 by  doxygen 1.5.4