

///<reference path="IAccelerationListener.ts"/>
///<reference path="IAdaptiveRPGroup.ts"/>
///<reference path="IBaseSensor.ts"/>

module Adaptive {

     /**
        Interface defining methods about the acceleration sensor

        @author Carlos Lozano Diez
        @since v2.0
        @version 1.0
     */
     /**
        @class Adaptive.IAcceleration
     */
     export interface IAcceleration extends IBaseSensor {
          /**
             @method
             Register a new listener that will receive acceleration events.
             @param listener to be registered.
             @since v2.0
          */
          addAccelerationListener(listener:IAccelerationListener);
          /**
             @method
             De-registers an existing listener from receiving acceleration events.
             @param listener to be registered.
             @since v2.0
          */
          removeAccelerationListener(listener:IAccelerationListener);
          /**
             @method
             Removed all existing listeners from receiving acceleration events.
             @since v2.0
          */
          removeAccelerationListeners();
     }
}

/**
------------------------------------| Engineered with ♥ in Barcelona, Catalonia |--------------------------------------
*/
