{"action":"closed","issue":{"url":"https://api.github.com/repos/blitz-research/monkey2/issues/357","repository_url":"https://api.github.com/repos/blitz-research/monkey2","labels_url":"https://api.github.com/repos/blitz-research/monkey2/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/blitz-research/monkey2/issues/357/comments","events_url":"https://api.github.com/repos/blitz-research/monkey2/issues/357/events","html_url":"https://github.com/blitz-research/monkey2/issues/357","id":306332314,"number":357,"title":"Entity extensions need a way to access component stack...","user":{"login":"DoctorWhoof","id":6250116,"avatar_url":"https://avatars3.githubusercontent.com/u/6250116?v=4","gravatar_id":"","url":"https://api.github.com/users/DoctorWhoof","html_url":"https://github.com/DoctorWhoof","followers_url":"https://api.github.com/users/DoctorWhoof/followers","following_url":"https://api.github.com/users/DoctorWhoof/following{/other_user}","gists_url":"https://api.github.com/users/DoctorWhoof/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctorWhoof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctorWhoof/subscriptions","organizations_url":"https://api.github.com/users/DoctorWhoof/orgs","repos_url":"https://api.github.com/users/DoctorWhoof/repos","events_url":"https://api.github.com/users/DoctorWhoof/events{/privacy}","received_events_url":"https://api.github.com/users/DoctorWhoof/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-19T04:47:29Z","updated_at":"2018-03-22T05:02:13Z","closed_at":"2018-03-22T05:02:13Z","author_association":"NONE","body":"...or some other solution that would allow implementing custom \"OnStuff()\" events.\r\n\r\nExplanation: What I'm doing is extending the \"Behaviour\" class with a \"GameComponent\" class that has all the other OnStuff methods I need.\r\n\r\nMy first gut instinct was to check for all components in an entity, and if the component extends GameComponent I can call those methods at the appropriate moments. But the components stack is private, and inaccessible from an Entity Extension.\r\n\r\nAlternatively, I'm open to other solutions that would give me the same result!\r\nThanks!"}}
{"actor":{"display_login":"DoctorWhoof"}}