SaturnRingLibrary 0.6
SGL wrapper
 
Loading...
Searching...
No Matches
SRL::Tilemap::ITilemap Struct Reference

Detailed Description

Virtual interface for tilemap.

#include <srl_tilemap.hpp>

Inheritance diagram for SRL::Tilemap::ITilemap:
SRL::Tilemap::Interfaces::Bmp2Tile SRL::Tilemap::Interfaces::CubeTile SRL::Tilemap::Interfaces::SGLTile

Public Member Functions

virtual void * GetCellData ()
 Get Cell data(Tileset)
 
virtual TilemapInfo GetInfo ()
 Get Tilemap Info.
 
virtual void * GetMapData ()
 Get Map data(Tilemap)
 
virtual void * GetPalData ()
 Get Palette data.
 

Member Function Documentation

◆ GetCellData()

virtual void * SRL::Tilemap::ITilemap::GetCellData ( )
inlinevirtual

Get Cell data(Tileset)

Returns
Pointer to Cell data

Reimplemented in SRL::Tilemap::Interfaces::Bmp2Tile, SRL::Tilemap::Interfaces::CubeTile, and SRL::Tilemap::Interfaces::SGLTile.

◆ GetInfo()

virtual TilemapInfo SRL::Tilemap::ITilemap::GetInfo ( )
inlinevirtual

◆ GetMapData()

virtual void * SRL::Tilemap::ITilemap::GetMapData ( )
inlinevirtual

Get Map data(Tilemap)

Returns
Pointer to Map data

Reimplemented in SRL::Tilemap::Interfaces::Bmp2Tile, SRL::Tilemap::Interfaces::CubeTile, and SRL::Tilemap::Interfaces::SGLTile.

◆ GetPalData()

virtual void * SRL::Tilemap::ITilemap::GetPalData ( )
inlinevirtual

Get Palette data.

Returns
Pointer to palette data

Reimplemented in SRL::Tilemap::Interfaces::Bmp2Tile, SRL::Tilemap::Interfaces::CubeTile, and SRL::Tilemap::Interfaces::SGLTile.