supertux
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
TileSet Class Referencefinal

Public Member Functions

void add_tile (int id, std::unique_ptr< Tile > tile)
 
void add_unassigned_tilegroup ()
 Adds a group of tiles that haven't been assigned to any other group.
 
void remove_deprecated_tiles ()
 Check for and remove any deprecated tiles from tilegroups. More...
 
void add_tilegroup (const Tilegroup &tilegroup)
 
const Tileget (const uint32_t id) const
 
AutotileSetget_autotileset_from_tile (uint32_t tile_id) const
 
uint32_t get_max_tileid () const
 
const std::vector< Tilegroup > & get_tilegroups () const
 
void print_debug_info (const std::string &filename)
 
void Write (string filename)
 
void Parse (string filename)
 
void ParseTiles (Lisp.Parser parser)
 
void ParseMoreTiles (Lisp.Parser parser)
 

Static Public Member Functions

static std::unique_ptr< TileSetfrom_file (const std::string &filename)
 

Public Attributes

std::vector< std::unique_ptr< AutotileSet > > m_autotilesets
 
std::map< uint32_t, uint32_t > m_thunderstorm_tiles
 
const int TILE_WIDTH = 32
 
const int TILE_HEIGHT = 32
 
ArrayList Tiles = new ArrayList()
 
ArrayList TileGroups = new ArrayList()
 

Properties

bool IsNew [get]
 Whether version of tileset file is too new More...
 

Member Function Documentation

◆ remove_deprecated_tiles()

void TileSet::remove_deprecated_tiles ( )

Check for and remove any deprecated tiles from tilegroups.

Property Documentation

◆ IsNew

bool TileSet.IsNew
get

Whether version of tileset file is too new


The documentation for this class was generated from the following files: