RioEngine  0.1
My first attempt to create a 3D WYSIWYG Game Engine
CEnemyTarget Class Reference

#include <cenemytarget.h>

Inheritance diagram for CEnemyTarget:
CEnemy CAliveEntity CGameObject CLNode CObject

Public Member Functions

 CEnemyTarget ()
 
float delayTime () const
 
void setDelayTime (float delay_time)
 
float exposureTime () const
 
void setExposureTime (float exposure_time)
 
float slideLength () const
 
void setSlideLength (float slide_length)
 
bool doSlide () const
 
void setDoSlide (bool do_slide)
 
float launcherHeight () const
 
void setLauncherHeight (float launcher_height)
 
virtual void launch ()
 
virtual void damageReceived (int damage)
 
virtual void aboutToBeRemoved ()
 
virtual void stopAllSounds ()
 
- Public Member Functions inherited from CEnemy
 CEnemy (void)
 
 ~CEnemy (void)
 
virtual void update ()
 
- Public Member Functions inherited from CAliveEntity
 CAliveEntity (void)
 
 ~CAliveEntity (void)
 
- Public Member Functions inherited from CLNode
 CLNode (void)
 
 CLNode (const CLNode &node)
 
CLNodeoperator= (const CLNode &node)
 
void copyNodeValuesFromNode (CLNode *node)
 
CLNodegetCopy ()
 
Transformtransform ()
 
const TransformconstTransform () const
 
void setTransform (const Transform &transform)
 
const std::string & id () const
 
void setId (const std::string &id)
 
bool visible () const
 
void setVisible (bool visible)
 
const btVector3 & size () const
 
const btVector3 & defaultSize () const
 
QList< CLInstanceGeometryinstanceGeometries ()
 
CArray< CLInstanceGeometry > * getInstanceGeometries () const
 
void setInstanceGeometries (QList< CLInstanceGeometry > vec)
 
void setInstanceGeometries (CArray< CLInstanceGeometry > *_array)
 
 ~CLNode (void)
 
- Public Member Functions inherited from CObject
 CObject ()
 
 CObject (const CObject &object)
 
CObjectoperator= (const CObject &object)
 
CObjectretain ()
 
unsigned int release () const
 
CObjectautorelease ()
 
unsigned int retainCount () const
 
bool isValidCObject () const
 
virtual ~CObject ()
 

Protected Attributes

float m_delayTime
 
float m_exposureTime
 
float m_slideLength
 
float m_launcherHeight
 
bool m_doSlide
 
int m_slideSoundId
 
- Protected Attributes inherited from CAliveEntity
int m_health
 
- Protected Attributes inherited from CGameObject
CActionManagerm_actionManager
 
int m_tag
 
- Protected Attributes inherited from CLNode
Transform m_transform
 
btVector3 m_size
 
std::string m_id
 
bool m_visible
 

Additional Inherited Members

- Static Public Member Functions inherited from CObject
static void safeRetain (void *pointer)
 
template<class T >
static void safeRelease (T *pointer)
 
template<class T >
static void safeReleaseArray (T *array)
 
static void safeRelease (const char *pointer)
 
- Protected Member Functions inherited from CGameObject
virtual void copyValuesFromObject (const CGameObject &game_object)
 
virtual void __init ()
 
- Protected Member Functions inherited from CLNode
virtual void copyValuesFromObject (const CLNode &node)
 
- Protected Member Functions inherited from CObject
virtual void copyValuesFromObject (const CObject &object)
 
- Properties inherited from CGameObject
QList< QPropertyDynamicProperties
 
int CObjectType
 
int Tag
 
- Properties inherited from CLNode
QList< CLInstanceGeometryInstanceGeometries
 

Detailed Description

Definition at line 35 of file cenemytarget.h.

Constructor & Destructor Documentation

CEnemyTarget::CEnemyTarget ( )

Definition at line 38 of file cenemytarget.cpp.

Member Function Documentation

void CEnemyTarget::aboutToBeRemoved ( )
virtual

Called before the game object is removed from the game scene.

Reimplemented from CGameObject.

Definition at line 178 of file cenemytarget.cpp.

void CEnemyTarget::damageReceived ( int  damage)
virtual

Reimplemented from CAliveEntity.

Definition at line 184 of file cenemytarget.cpp.

float CEnemyTarget::delayTime ( ) const

Definition at line 48 of file cenemytarget.cpp.

bool CEnemyTarget::doSlide ( ) const

Definition at line 84 of file cenemytarget.cpp.

float CEnemyTarget::exposureTime ( ) const

Definition at line 60 of file cenemytarget.cpp.

void CEnemyTarget::launch ( )
virtual

Definition at line 108 of file cenemytarget.cpp.

float CEnemyTarget::launcherHeight ( ) const

Definition at line 96 of file cenemytarget.cpp.

void CEnemyTarget::setDelayTime ( float  delay_time)

Definition at line 54 of file cenemytarget.cpp.

void CEnemyTarget::setDoSlide ( bool  do_slide)

Definition at line 90 of file cenemytarget.cpp.

void CEnemyTarget::setExposureTime ( float  exposure_time)

Definition at line 66 of file cenemytarget.cpp.

void CEnemyTarget::setLauncherHeight ( float  launcher_height)

Definition at line 102 of file cenemytarget.cpp.

void CEnemyTarget::setSlideLength ( float  slide_length)

Definition at line 78 of file cenemytarget.cpp.

float CEnemyTarget::slideLength ( ) const

Definition at line 72 of file cenemytarget.cpp.

void CEnemyTarget::stopAllSounds ( )
virtual

Definition at line 148 of file cenemytarget.cpp.

Member Data Documentation

float CEnemyTarget::m_delayTime
protected

Definition at line 62 of file cenemytarget.h.

bool CEnemyTarget::m_doSlide
protected

Definition at line 66 of file cenemytarget.h.

float CEnemyTarget::m_exposureTime
protected

Definition at line 63 of file cenemytarget.h.

float CEnemyTarget::m_launcherHeight
protected

Definition at line 65 of file cenemytarget.h.

float CEnemyTarget::m_slideLength
protected

Definition at line 64 of file cenemytarget.h.

int CEnemyTarget::m_slideSoundId
protected

Definition at line 67 of file cenemytarget.h.


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