{"action":"created","issue":{"url":"https://api.github.com/repos/swangboy55/3DEngine/issues/9","repository_url":"https://api.github.com/repos/swangboy55/3DEngine","labels_url":"https://api.github.com/repos/swangboy55/3DEngine/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/swangboy55/3DEngine/issues/9/comments","events_url":"https://api.github.com/repos/swangboy55/3DEngine/issues/9/events","html_url":"https://github.com/swangboy55/3DEngine/issues/9","id":177618152,"number":9,"title":"Components","user":{"login":"swangboy55","id":11014538,"avatar_url":"https://avatars.githubusercontent.com/u/11014538?v=3","gravatar_id":"","url":"https://api.github.com/users/swangboy55","html_url":"https://github.com/swangboy55","followers_url":"https://api.github.com/users/swangboy55/followers","following_url":"https://api.github.com/users/swangboy55/following{/other_user}","gists_url":"https://api.github.com/users/swangboy55/gists{/gist_id}","starred_url":"https://api.github.com/users/swangboy55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swangboy55/subscriptions","organizations_url":"https://api.github.com/users/swangboy55/orgs","repos_url":"https://api.github.com/users/swangboy55/repos","events_url":"https://api.github.com/users/swangboy55/events{/privacy}","received_events_url":"https://api.github.com/users/swangboy55/received_events","type":"User","site_admin":false},"labels":[{"id":347719761,"url":"https://api.github.com/repos/swangboy55/3DEngine/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-17T23:43:43Z","updated_at":"2016-10-31T00:51:15Z","closed_at":null,"body":"Components are a nice extension to the Entity class, as they allow for something this project has a big issue with -- extensibility.\nComponent will be an abstract class which will contain a list of c#-esque event functions (onTick, onResolve, onRender, throwing ideas out there) which will all be called when an entity encounters specific points in its lifetime. Requirements of this task:\n- Create a component interface, a list of them will be stored in the entity class\n- The entity class will call corresponding component functions for all of its components at certain points (such as: when an entity's tick function is called, it calls all of its components have their onTick function called with necessary arguments passed)\n- The component class will contain a pointer to the entity which contains it\n- When an entity is destroyed, all of its components are destroyed\n\nThis topic is open to much discussion, if you are interested in adding to the extensibility of this project, put a message in the skype group and we will work out a more concrete design for this.\n"},"comment":{"url":"https://api.github.com/repos/swangboy55/3DEngine/issues/comments/257193137","html_url":"https://github.com/swangboy55/3DEngine/issues/9#issuecomment-257193137","issue_url":"https://api.github.com/repos/swangboy55/3DEngine/issues/9","id":257193137,"user":{"login":"swangboy55","id":11014538,"avatar_url":"https://avatars.githubusercontent.com/u/11014538?v=3","gravatar_id":"","url":"https://api.github.com/users/swangboy55","html_url":"https://github.com/swangboy55","followers_url":"https://api.github.com/users/swangboy55/followers","following_url":"https://api.github.com/users/swangboy55/following{/other_user}","gists_url":"https://api.github.com/users/swangboy55/gists{/gist_id}","starred_url":"https://api.github.com/users/swangboy55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swangboy55/subscriptions","organizations_url":"https://api.github.com/users/swangboy55/orgs","repos_url":"https://api.github.com/users/swangboy55/repos","events_url":"https://api.github.com/users/swangboy55/events{/privacy}","received_events_url":"https://api.github.com/users/swangboy55/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T00:51:15Z","updated_at":"2016-10-31T00:51:15Z","body":"Added in virtual destructor, further implementation of this issue is on hiatus as of commit 86558a378b32cdabb0550517967d16dc18e876a7. Whether or not it will be continued now or later is to be decided."}}
{"actor":{"display_login":"swangboy55"}}