{"action":"opened","issue":{"url":"https://api.github.com/repos/skaupper/BKEngine/issues/19","repository_url":"https://api.github.com/repos/skaupper/BKEngine","labels_url":"https://api.github.com/repos/skaupper/BKEngine/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/skaupper/BKEngine/issues/19/comments","events_url":"https://api.github.com/repos/skaupper/BKEngine/issues/19/events","html_url":"https://github.com/skaupper/BKEngine/issues/19","id":249384374,"number":19,"title":"Allow the creation of Games/Scenes/Elements/Textures only through a factory/builder","user":{"login":"skaupper","id":1375320,"avatar_url":"https://avatars3.githubusercontent.com/u/1375320?v=4","gravatar_id":"","url":"https://api.github.com/users/skaupper","html_url":"https://github.com/skaupper","followers_url":"https://api.github.com/users/skaupper/followers","following_url":"https://api.github.com/users/skaupper/following{/other_user}","gists_url":"https://api.github.com/users/skaupper/gists{/gist_id}","starred_url":"https://api.github.com/users/skaupper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skaupper/subscriptions","organizations_url":"https://api.github.com/users/skaupper/orgs","repos_url":"https://api.github.com/users/skaupper/repos","events_url":"https://api.github.com/users/skaupper/events{/privacy}","received_events_url":"https://api.github.com/users/skaupper/received_events","type":"User","site_admin":false},"labels":[{"id":541656939,"url":"https://api.github.com/repos/skaupper/BKEngine/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":543848522,"url":"https://api.github.com/repos/skaupper/BKEngine/labels/newfeature","name":"newfeature","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/skaupper/BKEngine/milestones/3","html_url":"https://github.com/skaupper/BKEngine/milestone/3","labels_url":"https://api.github.com/repos/skaupper/BKEngine/milestones/3/labels","id":2335500,"number":3,"title":"v2.0","description":"Serializable classes\r\nInterchangeable graphics and audio interfaces","creator":{"login":"skaupper","id":1375320,"avatar_url":"https://avatars3.githubusercontent.com/u/1375320?v=4","gravatar_id":"","url":"https://api.github.com/users/skaupper","html_url":"https://github.com/skaupper","followers_url":"https://api.github.com/users/skaupper/followers","following_url":"https://api.github.com/users/skaupper/following{/other_user}","gists_url":"https://api.github.com/users/skaupper/gists{/gist_id}","starred_url":"https://api.github.com/users/skaupper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skaupper/subscriptions","organizations_url":"https://api.github.com/users/skaupper/orgs","repos_url":"https://api.github.com/users/skaupper/repos","events_url":"https://api.github.com/users/skaupper/events{/privacy}","received_events_url":"https://api.github.com/users/skaupper/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2017-02-20T18:26:57Z","updated_at":"2017-08-10T15:24:06Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-08-10T15:24:06Z","updated_at":"2017-08-10T15:24:06Z","closed_at":null,"body":"As all these classes get more and more complex it has to be something done against is\r\nThe simplest approach would possibly be to implement a factory pattern. This would also allow to differentiate the overloads with reasonable names.\r\n\r\nOther methods of object creation should not be allowed at all (friend class?) !"}}
{"actor":{"display_login":"skaupper"}}