actorsand world.objects are standard Python lists. They have the remove() method to remove items. That's why you can't find their definitions.
Python list reference:
https://docs.python.org/3/tutorial/datastructures.html
https://docs.python.org/3/library/xml.et...ttree.html
When I made this sample project, Tilengine couldn't yet load object layers from .tmx files, so I used Python xml facility to do it. Now it can load TLN_ObjectList by itself, you don't need to load it separately anymore.
Python list reference:
https://docs.python.org/3/tutorial/datastructures.html
- Actor is the base class for any game entity (everything that lives is an Actor)
- actors is the active actors list populated with Actor instances
- world.objects is the object list loaded from the .tmx file (object layer)
https://docs.python.org/3/library/xml.et...ttree.html
When I made this sample project, Tilengine couldn't yet load object layers from .tmx files, so I used Python xml facility to do it. Now it can load TLN_ObjectList by itself, you don't need to load it separately anymore.