function Animator(props) {
            this.collection = props.collection || {};
            this.current = props.current || null;
            this.next = null;
            this.step = 0;
            this.timeleft = 0;
            this.frame = 0;
            this.flip = {
                x: false,
                y: false
            };
            return this;
        }
/**
         * Animator component constructor
         * @param   {object} props Props for this component
         * @returns {object} A new animator component
         */
Animator component constructor
@param   {object} props Props for this component
@returns {object} A new animator component
Animator component constructor @param { object } props Props for this component @returns { object } A new animator component
function Animator(props) {
            this.collection = props.collection || {};
            this.current = props.current || null;
            this.next = null;
            this.step = 0;
            this.timeleft = 0;
            this.frame = 0;
            this.flip = {
                x: false,
                y: false
            };
            return this;
        }
function Animator ( props ) { this . collection = props . collection || { } ; this . current = props . current || null ; this . next = null ; this . step = 0 ; this . timeleft = 0 ; this . frame = 0 ; this . flip = { x : false , y : false } ; return this ; }
Animator component constructor
 @param   {object} props Props for this component
 @returns {object} A new animator component
Animator component constructor @param { object } props Props for this component @returns { object } A new animator component