{"action":"closed","issue":{"url":"https://api.github.com/repos/eloipuertas/ES2015A/issues/134","labels_url":"https://api.github.com/repos/eloipuertas/ES2015A/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/eloipuertas/ES2015A/issues/134/comments","events_url":"https://api.github.com/repos/eloipuertas/ES2015A/issues/134/events","html_url":"https://github.com/eloipuertas/ES2015A/issues/134","id":113095452,"number":134,"title":"[FOW] Dynamically create FOWEntity","user":{"login":"MSoler","id":6904309,"avatar_url":"https://avatars.githubusercontent.com/u/6904309?v=3","gravatar_id":"","url":"https://api.github.com/users/MSoler","html_url":"https://github.com/MSoler","followers_url":"https://api.github.com/users/MSoler/followers","following_url":"https://api.github.com/users/MSoler/following{/other_user}","gists_url":"https://api.github.com/users/MSoler/gists{/gist_id}","starred_url":"https://api.github.com/users/MSoler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSoler/subscriptions","organizations_url":"https://api.github.com/users/MSoler/orgs","repos_url":"https://api.github.com/users/MSoler/repos","events_url":"https://api.github.com/users/MSoler/events{/privacy}","received_events_url":"https://api.github.com/users/MSoler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eloipuertas/ES2015A/labels/Group%20D","name":"Group D","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"MSoler","id":6904309,"avatar_url":"https://avatars.githubusercontent.com/u/6904309?v=3","gravatar_id":"","url":"https://api.github.com/users/MSoler","html_url":"https://github.com/MSoler","followers_url":"https://api.github.com/users/MSoler/followers","following_url":"https://api.github.com/users/MSoler/following{/other_user}","gists_url":"https://api.github.com/users/MSoler/gists{/gist_id}","starred_url":"https://api.github.com/users/MSoler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSoler/subscriptions","organizations_url":"https://api.github.com/users/MSoler/orgs","repos_url":"https://api.github.com/users/MSoler/repos","events_url":"https://api.github.com/users/MSoler/events{/privacy}","received_events_url":"https://api.github.com/users/MSoler/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/eloipuertas/ES2015A/milestones/3","html_url":"https://github.com/eloipuertas/ES2015A/milestones/Sprint3","labels_url":"https://api.github.com/repos/eloipuertas/ES2015A/milestones/3/labels","id":1368507,"number":3,"title":"Sprint3","description":"### Priority :\r\n1  Solve Previous BUGs and merge into DEVEL as soon as possible\r\n2 Solve integration Models and Terrain problems\r\n3 Better interaction between characters, colliders\r\n4 New Unities and buildings: Light Army, Thrown Weapon Army Human and Elf.\r\n","creator":{"login":"eloipuertas","id":2512084,"avatar_url":"https://avatars.githubusercontent.com/u/2512084?v=3","gravatar_id":"","url":"https://api.github.com/users/eloipuertas","html_url":"https://github.com/eloipuertas","followers_url":"https://api.github.com/users/eloipuertas/followers","following_url":"https://api.github.com/users/eloipuertas/following{/other_user}","gists_url":"https://api.github.com/users/eloipuertas/gists{/gist_id}","starred_url":"https://api.github.com/users/eloipuertas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eloipuertas/subscriptions","organizations_url":"https://api.github.com/users/eloipuertas/orgs","repos_url":"https://api.github.com/users/eloipuertas/repos","events_url":"https://api.github.com/users/eloipuertas/events{/privacy}","received_events_url":"https://api.github.com/users/eloipuertas/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":48,"state":"open","created_at":"2015-10-21T15:35:20Z","updated_at":"2015-11-04T11:50:19Z","due_on":"2016-10-04T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-10-23T20:41:01Z","updated_at":"2015-11-04T11:50:19Z","closed_at":"2015-11-04T11:50:19Z","body":"### Description\r\nFOWEntity is a monobehaviour right now that has to be attached to every single prefab.\r\nThis was useful when testing but now there is a couple things that would benefit from it being dynamically added to all GameEntities.\r\nThe benefits are:\r\n* Sight range can be a normal gameentity stat.\r\n* Can enable FOWEntity only when a building is actually placed, not when it's being placed. \r\n* Can pass it it's owner thus saving one call to Find gameInformationObject.\r\n\r\n### Acceptance Criteria\r\n* FOWEntity is added dynamically when needed.\r\n* FOWEntity has been removed from all prefabs that have it\r\n* Now the sight range is taken from the JSON\r\n* It's owner can be passed to it as a parameter.\r\n\r\nETA: 2h"}}