{"action":"created","issue":{"url":"https://api.github.com/repos/underscorediscovery/luxe/issues/372","repository_url":"https://api.github.com/repos/underscorediscovery/luxe","labels_url":"https://api.github.com/repos/underscorediscovery/luxe/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/underscorediscovery/luxe/issues/372/comments","events_url":"https://api.github.com/repos/underscorediscovery/luxe/issues/372/events","html_url":"https://github.com/underscorediscovery/luxe/issues/372","id":148701809,"number":372,"title":"Setting Sprite parent through SpriteOptions in constructor stops events (init(), update()) from firing","user":{"login":"le-doux","id":2354710,"avatar_url":"https://avatars.githubusercontent.com/u/2354710?v=3","gravatar_id":"","url":"https://api.github.com/users/le-doux","html_url":"https://github.com/le-doux","followers_url":"https://api.github.com/users/le-doux/followers","following_url":"https://api.github.com/users/le-doux/following{/other_user}","gists_url":"https://api.github.com/users/le-doux/gists{/gist_id}","starred_url":"https://api.github.com/users/le-doux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le-doux/subscriptions","organizations_url":"https://api.github.com/users/le-doux/orgs","repos_url":"https://api.github.com/users/le-doux/repos","events_url":"https://api.github.com/users/le-doux/events{/privacy}","received_events_url":"https://api.github.com/users/le-doux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-15T16:08:58Z","updated_at":"2016-04-16T00:14:01Z","closed_at":null,"body":"If I initialize a Sprite like this:\r\n\r\n`var s = new Sprite({parent: parentEntity});`\r\n\r\nThen the init() and update() methods are never called (and they're not called for components I attach to the Sprite either).\r\n\r\nIf I do this instead, the problem goes away:\r\n\r\n```\r\nvar s = new Sprite();\r\nsprite.parent = parentEntity;\r\n```\r\n\r\nAm I missing something? I would expect these to produce similar behavior.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/underscorediscovery/luxe/issues/comments/210694025","html_url":"https://github.com/underscorediscovery/luxe/issues/372#issuecomment-210694025","issue_url":"https://api.github.com/repos/underscorediscovery/luxe/issues/372","id":210694025,"user":{"login":"le-doux","id":2354710,"avatar_url":"https://avatars.githubusercontent.com/u/2354710?v=3","gravatar_id":"","url":"https://api.github.com/users/le-doux","html_url":"https://github.com/le-doux","followers_url":"https://api.github.com/users/le-doux/followers","following_url":"https://api.github.com/users/le-doux/following{/other_user}","gists_url":"https://api.github.com/users/le-doux/gists{/gist_id}","starred_url":"https://api.github.com/users/le-doux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le-doux/subscriptions","organizations_url":"https://api.github.com/users/le-doux/orgs","repos_url":"https://api.github.com/users/le-doux/repos","events_url":"https://api.github.com/users/le-doux/events{/privacy}","received_events_url":"https://api.github.com/users/le-doux/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T00:14:01Z","updated_at":"2016-04-16T00:14:01Z","body":"P.S. Thanks for taking the time to look into this!"}}