function Sprite(props) {
            if (!props) props = {};
            this.position = props.position || (new Sylx.Point());
            this.size = props.size || (new Sylx.Point(16, 16));
            this.offset = props.offset || (new Sylx.Point());
            this.sourcePosition = props.sourcePosition || (new Sylx.Point());
            this.image = props.image || null;
            this.visible = props.visible || true;
            this.opacity = props.opacity || 1.0;
            this.order = props.order || 0;
            this.fixed = props.fixed ||  false;
            return this;
        }
/**
         * Sprite component constructor
         * @param   {object} props Props for this component
         * @returns {object} A new sprite component
         */
Sprite component constructor
@param   {object} props Props for this component
@returns {object} A new sprite component
Sprite component constructor @param { object } props Props for this component @returns { object } A new sprite component
function Sprite(props) {
            if (!props) props = {};
            this.position = props.position || (new Sylx.Point());
            this.size = props.size || (new Sylx.Point(16, 16));
            this.offset = props.offset || (new Sylx.Point());
            this.sourcePosition = props.sourcePosition || (new Sylx.Point());
            this.image = props.image || null;
            this.visible = props.visible || true;
            this.opacity = props.opacity || 1.0;
            this.order = props.order || 0;
            this.fixed = props.fixed ||  false;
            return this;
        }
function Sprite ( props ) { if ( ! props ) props = { } ; this . position = props . position || ( new Sylx . Point ( ) ) ; this . size = props . size || ( new Sylx . Point ( 16 , 16 ) ) ; this . offset = props . offset || ( new Sylx . Point ( ) ) ; this . sourcePosition = props . sourcePosition || ( new Sylx . Point ( ) ) ; this . image = props . image || null ; this . visible = props . visible || true ; this . opacity = props . opacity || 1.0 ; this . order = props . order || 0 ; this . fixed = props . fixed || alse; return this ; }
Sprite component constructor
 @param   {object} props Props for this component
 @returns {object} A new sprite component
Sprite component constructor @param { object } props Props for this component @returns { object } A new sprite component