{"action":"closed","issue":{"url":"https://api.github.com/repos/Kuxe/swordbow-magic/issues/17","labels_url":"https://api.github.com/repos/Kuxe/swordbow-magic/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Kuxe/swordbow-magic/issues/17/comments","events_url":"https://api.github.com/repos/Kuxe/swordbow-magic/issues/17/events","html_url":"https://github.com/Kuxe/swordbow-magic/issues/17","id":54396241,"number":17,"title":"RenderSystem should redraw entities if needed","user":{"login":"Kuxe","id":5659176,"avatar_url":"https://avatars.githubusercontent.com/u/5659176?v=3","gravatar_id":"","url":"https://api.github.com/users/Kuxe","html_url":"https://github.com/Kuxe","followers_url":"https://api.github.com/users/Kuxe/followers","following_url":"https://api.github.com/users/Kuxe/following{/other_user}","gists_url":"https://api.github.com/users/Kuxe/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuxe/subscriptions","organizations_url":"https://api.github.com/users/Kuxe/orgs","repos_url":"https://api.github.com/users/Kuxe/repos","events_url":"https://api.github.com/users/Kuxe/events{/privacy}","received_events_url":"https://api.github.com/users/Kuxe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Kuxe","id":5659176,"avatar_url":"https://avatars.githubusercontent.com/u/5659176?v=3","gravatar_id":"","url":"https://api.github.com/users/Kuxe","html_url":"https://github.com/Kuxe","followers_url":"https://api.github.com/users/Kuxe/followers","following_url":"https://api.github.com/users/Kuxe/following{/other_user}","gists_url":"https://api.github.com/users/Kuxe/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuxe/subscriptions","organizations_url":"https://api.github.com/users/Kuxe/orgs","repos_url":"https://api.github.com/users/Kuxe/repos","events_url":"https://api.github.com/users/Kuxe/events{/privacy}","received_events_url":"https://api.github.com/users/Kuxe/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-15T00:14:51Z","updated_at":"2015-02-07T16:26:37Z","closed_at":"2015-02-07T16:26:37Z","body":"Currently SDL_RenderClear(renderer) is commented. This ensures tiles aren't cleared away. If player moves around, tiles aren't redrawn causing blackness.\n\nIf some entity is moving around, the renderer should clear only that area in which movement takes place and then re-render everything in that area.\n\nEssentially, RenderSystem should only render where entities is moving around. RenderSystem should not re-render everything every frame no matter if it's actually neccesary."}}