GameEntity Class Reference

#include <GameEntity.h>

Inherited by MapObject, and Unit.

Inheritance diagram for GameEntity:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 6 of file GameEntity.h.

Public Member Functions

virtual void draw (Point position, Point dimensions) const =0
 GameEntity ()
virtual bool isPassable () const =0
virtual ~GameEntity ()

Private Attributes

unsigned long _id


Constructor & Destructor Documentation

GameEntity::GameEntity (  ) 

Definition at line 3 of file GameEntity.cpp.

GameEntity::~GameEntity (  )  [virtual]

Definition at line 7 of file GameEntity.cpp.


Member Function Documentation

virtual void GameEntity::draw ( Point  position,
Point  dimensions 
) const [pure virtual]

Implemented in MapObject, Unit, and Wall.

virtual bool GameEntity::isPassable (  )  const [pure virtual]

Implemented in MapObject, Unit, and Wall.


Member Data Documentation

unsigned long GameEntity::_id [private]

Definition at line 17 of file GameEntity.h.


The documentation for this class was generated from the following files:
Generated on Fri Sep 22 06:00:26 2006 for X-CLONE by  doxygen 1.4.7