CEnemy Class Reference

Enemy class. More...

#include <class.enemy.hh>

Inheritance diagram for CEnemy:

Inheritance graph
[legend]
Collaboration diagram for CEnemy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CEnemy (CSprite *pSprite)
CEnemyCastToEnemy ()
 Cast to enemy class.
bool Interact (CObject *pObj)
 Interact (check if the enemy hit something).
bool UpdateMovement (Uint8 *keystate, Uint32 iDeltaTime, int iCollisionStatus)
 Update object movement.


Detailed Description

Enemy class.

Constructor & Destructor Documentation

CEnemy::CEnemy ( CSprite pSprite  ) 


Member Function Documentation

CEnemy * CEnemy::CastToEnemy (  )  [virtual]

Cast to enemy class.

Reimplemented from CObject.

bool CEnemy::Interact ( CObject pObj  )  [virtual]

Interact (check if the enemy hit something).

Reimplemented from CObject.

bool CEnemy::UpdateMovement ( Uint8 *  keystate,
Uint32  iDeltaTime,
int  iCollisionStatus 
) [virtual]

Update object movement.

Reimplemented from CObject.


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

Generated on Fri Feb 22 09:36:53 2008 for Mega Maryo by  doxygen 1.5.5