// Path: src/main/java/sk/mrtn/pixi/client/Point.java
// @JsType(isNative = true, namespace = "PIXI")
// public class Point {
// 
//     @JsConstructor
//     public Point(double x, double y){};
// 
//     // PUBLIC FIELDS
//     @JsProperty
//     public double x;
//     @JsProperty
//     public double y;
// 
//     // PUBLIC METHODS
//     @JsMethod
//     public native Point clone();
//     @JsMethod
//     public native Point copy(Point point);
//     @JsMethod
//     public native boolean equals(Point point);
//     @JsMethod
//     public native void set(double x, double y);
// 
//     @JsOverlay
//     public final String toString() {
//         return "Point {x: "+x+", y: "+y+"}";
//     }
// 
//     @JsOverlay
//     public final String asString() {
//         return "Point {x: "+x+", y: "+y+"}";
//     }
// }


import jsinterop.annotations.JsConstructor;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import sk.mrtn.pixi.client.Point;
package sk.mrtn.pixi.client.particles;


/**
 * Created by klaun on 25/04/16.
 */

@JsType(isNative = true, namespace = "PIXI.particles")
public class PathParticle extends Particle {

    // PUBLIC STATIC FIELDS

    // PUBLIC STATIC METHODS

    @JsConstructor
    public PathParticle(Emitter emitter){}

    // PUBLIC FIELDS

    /**
     * The function representing the path the particle should take.
     */
    @JsProperty
    public Object path;

    /**
     * The initial rotation in degrees of the particle,
     * because the direction of the path is based on that.
     */
    @JsProperty
    public int initialRotation;
    /**
     * The initial position of the particle, as all path movement is added to that.
     */
    @JsProperty
// Path: src/main/java/sk/mrtn/pixi/client/Point.java
// @JsType(isNative = true, namespace = "PIXI")
// public class Point {
// 
//     @JsConstructor
//     public Point(double x, double y){};
// 
//     // PUBLIC FIELDS
//     @JsProperty
//     public double x;
//     @JsProperty
//     public double y;
// 
//     // PUBLIC METHODS
//     @JsMethod
//     public native Point clone();
//     @JsMethod
//     public native Point copy(Point point);
//     @JsMethod
//     public native boolean equals(Point point);
//     @JsMethod
//     public native void set(double x, double y);
// 
//     @JsOverlay
//     public final String toString() {
//         return "Point {x: "+x+", y: "+y+"}";
//     }
// 
//     @JsOverlay
//     public final String asString() {
//         return "Point {x: "+x+", y: "+y+"}";
//     }
// }


// Path: src/main/java/sk/mrtn/pixi/client/particles/PathParticle.java
import jsinterop.annotations.JsConstructor;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import sk.mrtn.pixi.client.Point;

package sk.mrtn.pixi.client.particles;


/**
 * Created by klaun on 25/04/16.
 */

@JsType(isNative = true, namespace = "PIXI.particles")
public class PathParticle extends Particle {

    // PUBLIC STATIC FIELDS

    // PUBLIC STATIC METHODS

    @JsConstructor
    public PathParticle(Emitter emitter){}

    // PUBLIC FIELDS

    /**
     * The function representing the path the particle should take.
     */
    @JsProperty
    public Object path;

    /**
     * The initial rotation in degrees of the particle,
     * because the direction of the path is based on that.
     */
    @JsProperty
    public int initialRotation;
    /**
     * The initial position of the particle, as all path movement is added to that.
     */
    @JsProperty
    public Point initialPosition;