self._list.append(map)
self._callCallbacks()
+ def prepend(self, map):
+ self._list[:0] = [map]
+ self._callCallbacks()
+
+ def removeMap(self, map):
+ for i in (range(len(self._list))):
+ if self._list[i] is map:
+ self._list[i:i+1] = []
+ return
+
def replaceFromIndex(self, index, maps):
self._list[index:] = maps
self._callCallbacks()