tile_renderer.pla2.Pla2File

class tile_renderer.pla2.Pla2File(namespace: str, components: list[Component])

Bases: Struct

__init__()

Methods

__init__()

from_file(file)

from_json(file)

from_msgpack(file)

save_json(directory)

save_msgpack(directory)

Attributes

components

namespace

ids

components: list[Component]
classmethod from_file(file: Path) Self
classmethod from_json(file: Path) Self
classmethod from_msgpack(file: Path) Self
property ids: list[str]
namespace: str
save_json(directory: Path) None
save_msgpack(directory: Path) None