TileMapRender

Inherited: None

Description

TileMapRender is a class designed for rendering tile maps within Thunder Engine. It manages the rendering of a tile map, including handling materials, layers, and transformations.

Public Methods

int

layer () const

void

setLayer (int layer)

void

setMaterial (Material * material)

int

tileMap () const

Static Methods

None

Methods Description

int TileMapRender::layer () const

Returns the order layer for the tile map.

See also setLayer().


void TileMapRender::setLayer (int layer)

Sets the order layer for the tile map.

See also *layer*().


void TileMapRender::setMaterial (Material * material)

Reimplements: Renderable::setMaterial(Material *material).

Creates a new instance of material and assigns it.


int TileMapRender::tileMap () const

Returns a pointer to the tile map associated with this TileMapRender.