tile

Alias module. Imports Tile under the namespace draftsman.

new_tile(name: str, **kwargs)

Factory function for creating a new Tile.

Currently, it’s not required to construct a generic tile using this function, since there is only one kind of Tile class. However, this function has the same behavior as new_entity(), in that you can use it to quicky create a tile object with which to manipulate easily.

Parameters:
name: str

The string name of a Tile.

**kwargs

A dict of all the keyword arguments to pass to the constructor.

Returns:

A new Tile instance.