#include <tileitem.h>
Inheritance diagram for TileItem_Empty:
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 ¢er, const uint radius) |
void | Draw (const Point2i &pos) |
bool | IsTotallyEmpty () const |
Definition at line 50 of file tileitem.h.
TileItem_Empty::TileItem_Empty | ( | ) | [inline] |
TileItem_Empty::~TileItem_Empty | ( | ) | [inline] |
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] |
Surface TileItem_Empty::GetSurface | ( | ) | [inline, virtual] |
bool TileItem_Empty::IsTotallyEmpty | ( | ) | const [inline, virtual] |