Ignore:
Timestamp:
Feb 12, 2011, 12:01:20 AM (10 years ago)
Author:
sam
Message:

Allow to query for a tileset's size and/or number of tiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tileset.cpp

    r633 r637  
    158158}
    159159
     160int2 TileSet::GetSize() const
     161{
     162    return data->size;
     163}
     164
     165int2 TileSet::GetCount() const
     166{
     167    return data->count;
     168}
     169
    160170void TileSet::BlitTile(uint32_t id, int x, int y, int z, int o)
    161171{
Note: See TracChangeset for help on using the changeset viewer.