The tmxlib.terrain module

Terrain

class tmxlib.terrain.Terrain(name, tile)[source]

Represents a Tiled terrain

Init arguments, which become attributes:

name

The name of the terrain

tile

The tile that represents the terrain visually. Should be from the same tileset.

TerrainList

class tmxlib.terrain.TerrainList(lst=None)[source]
append_new(name, tile)[source]

Append a newly created Terrain to the list

Table Of Contents

Previous topic

The tmxlib.mapobject module

Next topic

The tmxlib.image modules

This Page