* @param p PApplet the processing applet
* @param leap LeapMotionP5 an instance of the LeapMotionP5 class
*/
public LeapMotionListener(LeapMotionP5 leap) {
this.leap = leap;
this.leap.currentFrame = new Frame();
this.leap.lastFrames = new LinkedList<Frame>();
this.leap.lastFramesInclProperTimestamps = new ConcurrentSkipListMap<Date, Frame>();
this.leap.oldFrames = new CopyOnWriteArrayList<Frame>();
this.leap.oldControllers = new LinkedList<Controller>();