Exemple #1
0
def new(request, pid):
    return rest.new(request, pid, 'Object', Object, solid=True, persistent=False, type='image')
Exemple #2
0
def new(request, pid):
    return rest.new(request, pid, 'Sprite', Sprite, speed=1, collision_type=1, collision_attrs="")
Exemple #3
0
def new(request, pid):
    return rest.new(request, pid, "Map", Map)