from PataPataSupport import *
def define_prototype(world):
"""returns a world of morphs"""
world.worldLibraries = [world.newWorldFromFile("WorldCommon.py")]
# THE WORLD ITSELF
class world("World"):
__metaclass__ = world.buildPrototype
changeUnfinishedWarning = 1
sourceFileName = 'WorldExampleGLUT.py'
widget = None
worldPreambleCodeForImports = 'from PataPataSupport import *\n'
writer = None
# WORLD GLOBALS
# No Globals
# WORLD MORPHS
class proto1("Morph"):
__metaclass__ = world.buildPrototype
position = (191, 63)
widget = None
class proto0("Window"):
__metaclass__ = world.buildPrototype
proto0.addMorph(proto1)
world.addMorph(proto0)
return world