TileItem_Empty Class Reference

#include <tileitem.h>

Inheritance diagram for TileItem_Empty:

Inheritance graph
[legend]
Collaboration diagram for TileItem_Empty:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TileItem_Empty ()
 ~TileItem_Empty ()
unsigned char GetAlpha (const Point2i &pos)
void Dig (const Point2i &position, const Surface &dig)
Surface GetSurface ()
void Dig (const Point2i &center, const uint radius)
void Draw (const Point2i &pos)
bool IsTotallyEmpty () const

Detailed Description

Definition at line 50 of file tileitem.h.


Constructor & Destructor Documentation

TileItem_Empty::TileItem_Empty (  )  [inline]

Definition at line 53 of file tileitem.h.

00053 {};

TileItem_Empty::~TileItem_Empty (  )  [inline]

Definition at line 54 of file tileitem.h.

00054 {};


Member Function Documentation

void TileItem_Empty::Dig ( const Point2i center,
const uint  radius 
) [inline, virtual]

Implements TileItem.

Definition at line 59 of file tileitem.h.

00059 {};

void TileItem_Empty::Dig ( const Point2i position,
const Surface dig 
) [inline, virtual]

Implements TileItem.

Definition at line 57 of file tileitem.h.

00057 {};

void TileItem_Empty::Draw ( const Point2i pos  )  [virtual]

Implements TileItem.

Definition at line 41 of file tileitem.cpp.

00042 {
00043 #ifdef DBG_TILE
00044   AppWormux::GetInstance()->video.window.FillRect(Rectanglei(pos * CELL_SIZE - camera.GetPosition(),CELL_SIZE), c_red);
00045 #endif
00046 }

Here is the call graph for this function:

unsigned char TileItem_Empty::GetAlpha ( const Point2i pos  )  [inline, virtual]

Implements TileItem.

Definition at line 56 of file tileitem.h.

00056 {return 0;};

Surface TileItem_Empty::GetSurface (  )  [inline, virtual]

Implements TileItem.

Definition at line 58 of file tileitem.h.

00058 {return *new Surface();};

bool TileItem_Empty::IsTotallyEmpty (  )  const [inline, virtual]

Implements TileItem.

Definition at line 61 of file tileitem.h.

00061 {return true;};


The documentation for this class was generated from the following files:
Generated on Mon Jan 1 14:26:51 2007 for Wormux by  doxygen 1.4.7