{"action":"created","issue":{"url":"https://api.github.com/repos/magarena/magarena/issues/64","labels_url":"https://api.github.com/repos/magarena/magarena/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/magarena/magarena/issues/64/comments","events_url":"https://api.github.com/repos/magarena/magarena/issues/64/events","html_url":"https://github.com/magarena/magarena/issues/64","id":57270038,"number":64,"title":"Remove all references to UI from model and data classes.","user":{"login":"lodici","id":2443519,"avatar_url":"https://avatars.githubusercontent.com/u/2443519?v=3","gravatar_id":"","url":"https://api.github.com/users/lodici","html_url":"https://github.com/lodici","followers_url":"https://api.github.com/users/lodici/followers","following_url":"https://api.github.com/users/lodici/following{/other_user}","gists_url":"https://api.github.com/users/lodici/gists{/gist_id}","starred_url":"https://api.github.com/users/lodici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lodici/subscriptions","organizations_url":"https://api.github.com/users/lodici/orgs","repos_url":"https://api.github.com/users/lodici/repos","events_url":"https://api.github.com/users/lodici/events{/privacy}","received_events_url":"https://api.github.com/users/lodici/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magarena/magarena/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-11T02:48:17Z","updated_at":"2015-02-11T03:31:50Z","closed_at":null,"body":"Once this is done it will be much easier to implement the UI using a more modern alternative to Swing such as JavaFX, LibGDX, Slick2D, etc without requiring any changes to core classes. It might even be worthwhile considering moving the core classes into a separate library.\r\n"},"comment":{"url":"https://api.github.com/repos/magarena/magarena/issues/comments/73829231","html_url":"https://github.com/magarena/magarena/issues/64#issuecomment-73829231","issue_url":"https://api.github.com/repos/magarena/magarena/issues/64","id":73829231,"user":{"login":"melvinzhang","id":1620634,"avatar_url":"https://avatars.githubusercontent.com/u/1620634?v=3","gravatar_id":"","url":"https://api.github.com/users/melvinzhang","html_url":"https://github.com/melvinzhang","followers_url":"https://api.github.com/users/melvinzhang/followers","following_url":"https://api.github.com/users/melvinzhang/following{/other_user}","gists_url":"https://api.github.com/users/melvinzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/melvinzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvinzhang/subscriptions","organizations_url":"https://api.github.com/users/melvinzhang/orgs","repos_url":"https://api.github.com/users/melvinzhang/repos","events_url":"https://api.github.com/users/melvinzhang/events{/privacy}","received_events_url":"https://api.github.com/users/melvinzhang/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T03:31:50Z","updated_at":"2015-02-11T03:31:50Z","body":"Great initiative! Following are the list of classes outside of src/magic/ui that references ui:\r\nsrc/magic/MagicUtility.java:import magic.ui.ScreenController;\r\nsrc/magic/data/TextImages.java:import magic.ui.IconImages;\r\nsrc/magic/data/CardStatistics.java:import magic.ui.IconImages;\r\nsrc/magic/utility/MagicDownload.java:import static magic.ui.widget.downloader.HQImagesDownloadPanel.getImageDimensions;\r\nsrc/magic/utility/MagicStyle.java:import magic.ui.screen.interfaces.IThemeStyle;\r\nsrc/magic/utility/MagicStyle.java:import magic.ui.theme.Theme;\r\nsrc/magic/utility/MagicStyle.java:import magic.ui.theme.ThemeFactory;\r\nsrc/magic/utility/GraphicsUtilities.java:import magic.ui.theme.Theme;\r\nsrc/magic/model/stack/MagicTriggerOnStack.java:import magic.ui.IconImages;\r\nsrc/magic/model/stack/MagicCardOnStack.java:import magic.ui.IconImages;\r\nsrc/magic/model/stack/MagicAbilityOnStack.java:import magic.ui.IconImages;\r\nsrc/magic/model/choice/*\r\nsrc/magic/model/player/PlayerProfile.java:import magic.ui.IconImages;\r\nsrc/magic/model/player/PlayerProfile.java:import magic.ui.theme.PlayerAvatar;\r\nsrc/magic/model/MagicManaCost.java:import magic.ui.IconImages;\r\nsrc/magic/model/MagicPlayerDefinition.java:import magic.ui.theme.PlayerAvatar;\r\nsrc/magic/model/MagicGameReport.java:import magic.ui.ScreenController;\r\nsrc/magic/model/event/MagicMorphCastActivation.java:import magic.ui.IconImages;\r\nsrc/magic/FiremindQueueWorker.java:import magic.ui.GameController;\r\nsrc/magic/game/state/GameStateFileReader.java:import magic.ui.ScreenController;\r\nsrc/magic/DeckStrCal.java:import magic.ui.GameController;\r\nsrc/magic/MagicMain.java:import magic.ui.ScreenController;\r\n"}}