{"action":"created","issue":{"url":"https://api.github.com/repos/GoranM/bdx/issues/100","labels_url":"https://api.github.com/repos/GoranM/bdx/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/GoranM/bdx/issues/100/comments","events_url":"https://api.github.com/repos/GoranM/bdx/issues/100/events","html_url":"https://github.com/GoranM/bdx/issues/100","id":55447738,"number":100,"title":"Properties erased by group instance","user":{"login":"SolarLune","id":4733521,"avatar_url":"https://avatars.githubusercontent.com/u/4733521?v=3","gravatar_id":"","url":"https://api.github.com/users/SolarLune","html_url":"https://github.com/SolarLune","followers_url":"https://api.github.com/users/SolarLune/followers","following_url":"https://api.github.com/users/SolarLune/following{/other_user}","gists_url":"https://api.github.com/users/SolarLune/gists{/gist_id}","starred_url":"https://api.github.com/users/SolarLune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SolarLune/subscriptions","organizations_url":"https://api.github.com/users/SolarLune/orgs","repos_url":"https://api.github.com/users/SolarLune/repos","events_url":"https://api.github.com/users/SolarLune/events{/privacy}","received_events_url":"https://api.github.com/users/SolarLune/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoranM/bdx/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-26T05:22:37Z","updated_at":"2015-01-26T13:58:27Z","closed_at":null,"body":"Yo. It looks like an object's properties are completely erased by its group instance (if it belongs to one); shouldn't those properties be added to or overwritten by similarly named properties on group instances? For example:\r\n\r\nOn Guard, there's a property named \"behavior\", set to \"stand\". It also has a property named \"health\", set to 100. That makes it so that guards will, by default, stand there with 100 health (you could do this in code, of course, but this is an example).\r\n\r\nBut then, you decide that you want a specific guard to walk left. So, on a group instance of a Guard, you set the \"behavior\" property to \"walk left\"; I would then expect this instance of the Guard object to have a \"behavior\" property set to \"walk left\" *and* a \"health\" property set to 100, rather than just have a \"behavior\" property set to \"walk left\"."},"comment":{"url":"https://api.github.com/repos/GoranM/bdx/issues/comments/71463944","html_url":"https://github.com/GoranM/bdx/issues/100#issuecomment-71463944","issue_url":"https://api.github.com/repos/GoranM/bdx/issues/100","id":71463944,"user":{"login":"rafcolson","id":10002909,"avatar_url":"https://avatars.githubusercontent.com/u/10002909?v=3","gravatar_id":"","url":"https://api.github.com/users/rafcolson","html_url":"https://github.com/rafcolson","followers_url":"https://api.github.com/users/rafcolson/followers","following_url":"https://api.github.com/users/rafcolson/following{/other_user}","gists_url":"https://api.github.com/users/rafcolson/gists{/gist_id}","starred_url":"https://api.github.com/users/rafcolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafcolson/subscriptions","organizations_url":"https://api.github.com/users/rafcolson/orgs","repos_url":"https://api.github.com/users/rafcolson/repos","events_url":"https://api.github.com/users/rafcolson/events{/privacy}","received_events_url":"https://api.github.com/users/rafcolson/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T13:58:27Z","updated_at":"2015-01-26T13:58:27Z","body":"I will look into it today."}}