{"action":"opened","issue":{"url":"https://api.github.com/repos/DBeumans/GD2A-EndlessRunner/issues/13","repository_url":"https://api.github.com/repos/DBeumans/GD2A-EndlessRunner","labels_url":"https://api.github.com/repos/DBeumans/GD2A-EndlessRunner/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/DBeumans/GD2A-EndlessRunner/issues/13/comments","events_url":"https://api.github.com/repos/DBeumans/GD2A-EndlessRunner/issues/13/events","html_url":"https://github.com/DBeumans/GD2A-EndlessRunner/issues/13","id":187009651,"number":13,"title":"Single responsibility","user":{"login":"erwinhenraat","id":1262745,"avatar_url":"https://avatars.githubusercontent.com/u/1262745?v=3","gravatar_id":"","url":"https://api.github.com/users/erwinhenraat","html_url":"https://github.com/erwinhenraat","followers_url":"https://api.github.com/users/erwinhenraat/followers","following_url":"https://api.github.com/users/erwinhenraat/following{/other_user}","gists_url":"https://api.github.com/users/erwinhenraat/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinhenraat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinhenraat/subscriptions","organizations_url":"https://api.github.com/users/erwinhenraat/orgs","repos_url":"https://api.github.com/users/erwinhenraat/repos","events_url":"https://api.github.com/users/erwinhenraat/events{/privacy}","received_events_url":"https://api.github.com/users/erwinhenraat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-03T09:26:06Z","updated_at":"2016-11-03T09:26:06Z","closed_at":null,"body":"Je hebt feedback gekregen van **erwinhenraat**\nop:\n```c\n   void KeysState()\n    {\n        if(Input.GetKeyDown(KeyCode.Escape))\n        {\n            if (!_isPauzed)\n            {   \n                PauzeGame(true);                \n            }\n            else if (_isPauzed)\n            {\n                PauzeGame(false);\n            }\n        }\n    }\n \n```\n\nURL: https://github.com/DBeumans/GD2A-EndlessRunner/blob/master/Assets/Scripts/Behaviour/PauzeBehaviour.cs\n\nFeedback: Het pauze script zou niet moeten weten wanneer de Escape is ingedrukt.\n\nDaar is je InputBehavior voor.\n\nZorg dat die het pauzeren van deze class aanroept.[](http://www.studiozoetekauw.nl/codereview-in-het-onderwijs/ '#cr:{\"sha\":\"92b46be3680dfd8789279543ed3f09e9fc0dbe63\",\"path\":\"Assets/Scripts/Behaviour/PauzeBehaviour.cs\",\"reviewer\":\"erwinhenraat\"}')"}}
{"actor":{"display_login":"erwinhenraat"}}