{"action":"created","issue":{"url":"https://api.github.com/repos/7kia/ISpringPractic/issues/23","repository_url":"https://api.github.com/repos/7kia/ISpringPractic","labels_url":"https://api.github.com/repos/7kia/ISpringPractic/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/7kia/ISpringPractic/issues/23/comments","events_url":"https://api.github.com/repos/7kia/ISpringPractic/issues/23/events","html_url":"https://github.com/7kia/ISpringPractic/issues/23","id":217279782,"number":23,"title":"Убрать зависимость команд от класса CCanvas","user":{"login":"alexey-malov","id":6040682,"avatar_url":"https://avatars0.githubusercontent.com/u/6040682?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-malov","html_url":"https://github.com/alexey-malov","followers_url":"https://api.github.com/users/alexey-malov/followers","following_url":"https://api.github.com/users/alexey-malov/following{/other_user}","gists_url":"https://api.github.com/users/alexey-malov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-malov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-malov/subscriptions","organizations_url":"https://api.github.com/users/alexey-malov/orgs","repos_url":"https://api.github.com/users/alexey-malov/repos","events_url":"https://api.github.com/users/alexey-malov/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-malov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-27T15:15:03Z","updated_at":"2017-04-04T13:47:50Z","closed_at":null,"body":"Вместо этого команды должны требовать некоторый интерфейс или интерфейсы, который бы реализовывался классом CCanvas или его компонентами. \r\nКоманды должны принимать вместо ссылки на CCanvas ссылку на интерфейс. Это облегчит тестирование классов команд и их повторное использование."},"comment":{"url":"https://api.github.com/repos/7kia/ISpringPractic/issues/comments/291504904","html_url":"https://github.com/7kia/ISpringPractic/issues/23#issuecomment-291504904","issue_url":"https://api.github.com/repos/7kia/ISpringPractic/issues/23","id":291504904,"user":{"login":"alexey-malov","id":6040682,"avatar_url":"https://avatars0.githubusercontent.com/u/6040682?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-malov","html_url":"https://github.com/alexey-malov","followers_url":"https://api.github.com/users/alexey-malov/followers","following_url":"https://api.github.com/users/alexey-malov/following{/other_user}","gists_url":"https://api.github.com/users/alexey-malov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-malov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-malov/subscriptions","organizations_url":"https://api.github.com/users/alexey-malov/orgs","repos_url":"https://api.github.com/users/alexey-malov/repos","events_url":"https://api.github.com/users/alexey-malov/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-malov/received_events","type":"User","site_admin":false},"created_at":"2017-04-04T13:47:50Z","updated_at":"2017-04-04T13:47:50Z","body":"IGetShape::GetShape(const Vec2f mousePosition) = 0;\r\nтоже можно не делать виртуальным, а в виде свободной функции.\r\n\r\nIGetShape переименовать в IShapeProvider\r\n\r\nВ IGetShape лучше перенести получение количества фигур из IAddAndDeleteShape.\r\n\r\nGetAmountShapes переименовать в GetShapeCount\r\n\r\n\r\n"}}
{"actor":{"display_login":"alexey-malov"}}