Developer   API   Game Development   Particle System   Field

Field : BaseClass

Properties

  • defaults : Object
    Sets default controls options.
  • mass : Integer
    The mass of the particle. Default is set to 100.
  • options : Object
    Position of navigation bar.
  • position() : Vector
    Location of the field center.
  • size : Integer
    Defines how large the field size is for dynamics computations. Default is set to 8.
  • this
    Construct of the object calls following method in order.

Methods

  • afterInitControls
    Method is executed after init controls.
  • beforeInitControls
    Method is executed before init controls.
  • init()
  • moveTo(point)
    Set new emiter possition.
  • undefined(k,v)
    Special property executed when priperty is undefined. It can be that JSON format is in format "key" : "value". Key is an string, so if this is the case methot return "value". Ass well as k is a regular property of the class it returns getter of this property.