CLASS v1.8.0

tilemap.LayerList

pykraken.tilemap.LayerList

This entry has no direct match in the other language. Switching opens that language's reference.

Reference

PYTHON API

Constructor

method3 overloads

Overloaded function.

  1. tilemap.LayerList()

Default constructor

  1. tilemap.LayerList(arg: tilemap.LayerList, /)

Copy constructor

  1. tilemap.LayerList(arg: Iterable[tilemap.Layer], /)

Construct from an iterable object

append

method
append(self, arg: tilemap.Layer, /) -> None

Append arg to the end of the list.

clear

method
clear(self) -> None

Remove all items from list.

count

method
count(self, arg: tilemap.Layer, /) -> int

Return number of occurrences of arg.

extend

method
extend(self, arg: tilemap.LayerList, /) -> None

Extend self by appending elements from arg.

insert

method
insert(self, arg0: int, arg1: tilemap.Layer, /) -> None

Insert object arg1 before index arg0.

pop

method
pop(self, index: int = -1) -> tilemap.Layer

Remove and return item at index (default last).

remove

method
remove(self, arg: tilemap.Layer, /) -> None

Remove first occurrence of arg.

Find your next step

Start typing to search the manual.