from direct.leveleditor.LevelLoader import LevelLoader

This is just a sample code.

LevelLoader should be rewritten to be game specific.

You need to define which ObjectMgr, ObjectHandler, ObjectPalette, ProtoPalette would be used by importing section. Then declare them in initLoader function. You also need to define defaultPath in initLoader function, too.

Inheritance diagram

Inheritance diagram of direct.leveleditor.LevelLoader

class LevelLoader[source]

Bases: direct.leveleditor.LevelLoaderBase.LevelLoaderBase