MapObject Class Reference

#include <MapObject.h>

Inherits GameEntity.

Inherited by Wall.

Inheritance diagram for MapObject:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 13 of file MapObject.h.

Public Member Functions

virtual void destroy ()=0
virtual void draw (Point position, Point dimensions) const =0
virtual bool isPassable (Direction dir) const =0
virtual bool isPassable () const =0
 MapObject ()
virtual ~MapObject ()


Constructor & Destructor Documentation

MapObject::MapObject (  ) 

Definition at line 3 of file MapObject.cpp.

MapObject::~MapObject (  )  [virtual]

Definition at line 8 of file MapObject.cpp.


Member Function Documentation

virtual void MapObject::destroy (  )  [pure virtual]

Implemented in Wall.

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

Implements GameEntity.

Implemented in Wall.

virtual bool MapObject::isPassable ( Direction  dir  )  const [pure virtual]

Implemented in Wall.

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

Implements GameEntity.

Implemented in Wall.


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