#include <tileitem.h>
Inheritance diagram for TileItem:
Public Member Functions | |
TileItem () | |
virtual | ~TileItem () |
bool | IsEmpty () |
virtual unsigned char | GetAlpha (const Point2i &pos)=0 |
virtual void | Dig (const Point2i &position, const Surface &dig)=0 |
virtual void | Dig (const Point2i ¢er, const uint radius)=0 |
virtual void | MergeSprite (const Point2i &position, Surface &spr) |
virtual Surface | GetSurface ()=0 |
virtual void | Draw (const Point2i &pos)=0 |
virtual bool | IsTotallyEmpty () const =0 |
Definition at line 31 of file tileitem.h.
TileItem::TileItem | ( | ) | [inline] |
virtual TileItem::~TileItem | ( | ) | [inline, virtual] |
Implemented in TileItem_Empty, and TileItem_AlphaSoftware.
Implemented in TileItem_Empty, and TileItem_AlphaSoftware.
virtual void TileItem::Draw | ( | const Point2i & | pos | ) | [pure virtual] |
Implemented in TileItem_Empty, and TileItem_AlphaSoftware.
virtual unsigned char TileItem::GetAlpha | ( | const Point2i & | pos | ) | [pure virtual] |
Implemented in TileItem_Empty, and TileItem_AlphaSoftware.
virtual Surface TileItem::GetSurface | ( | ) | [pure virtual] |
Implemented in TileItem_Empty, and TileItem_AlphaSoftware.
bool TileItem::IsEmpty | ( | ) |
virtual bool TileItem::IsTotallyEmpty | ( | ) | const [pure virtual] |
Implemented in TileItem_Empty, and TileItem_AlphaSoftware.