elements documentation (r105) | Reference Index || Help Contents || Manual elements || elements.add || elements.callbacks || elements.world || Box2D

- elements - the elements class
  - elements.__init__ - constructor of the elements class
  - elements.add - elements subclass for adding objects
    - elements.add.ball - add a circle shaped body
    - elements.add.complexPoly - add a convex polygon
    - elements.add.concavePoly - add a concave polygon
    - elements.add.poly - add a already simplified polygon
    - elements.add.rect - add a rectangle body
    - elements.add.triangle - add a triangle body
  - elements.callbacks - elements subclass for adding and handling callbacks
    - elements.callbacks.add - add a callback
    - elements.callbacks.get - get a list of callbacks
  - elements.draw - draw the scene with a specified method
  - elements.reset_color - new objects will be added with random colors
  - elements.set_color - new objects will be added with specified color
  - elements.set_drawingMethod - set a drawing method (pygame, ...)
  - elements.set_inputAxisOrigin - configure the input coordinate system
  - elements.set_inputUnit - configure input unit system (pixels or meters)
  - elements.set_screenSize - set current screen size
  - elements.update - update the physics space
  - elements.world - box2d world class