direct.leveleditor.ObjectHandler

from direct.leveleditor.ObjectHandler import ObjectHandler, PandaActor

This is just a sample code.

LevelEditor, ObjectHandler, ObjectPalette should be rewritten to be game specific.

Inheritance diagram

Inheritance diagram of direct.leveleditor.ObjectHandler

class ObjectHandler(editor)[source]

Bases: object

ObjectHandler will create and update objects

__init__(self, editor)[source]
createDoubleSmiley(self, horizontal=True)[source]
createGrass(self)[source]
createPanda(self)[source]
updateDoubleSmiley(self, val, obj)[source]
updateSmiley(self, val, obj)[source]
class PandaActor[source]

Bases: direct.actor.Actor.Actor

__init__(self)[source]