{"action":"opened","issue":{"url":"https://api.github.com/repos/dlamprecht/schiffeversenken/issues/11","labels_url":"https://api.github.com/repos/dlamprecht/schiffeversenken/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/dlamprecht/schiffeversenken/issues/11/comments","events_url":"https://api.github.com/repos/dlamprecht/schiffeversenken/issues/11/events","html_url":"https://github.com/dlamprecht/schiffeversenken/issues/11","id":70491829,"number":11,"title":"Spielfeld-Integer-Werte durch enum ersetzen","user":{"login":"dlamprecht","id":11664536,"avatar_url":"https://avatars.githubusercontent.com/u/11664536?v=3","gravatar_id":"","url":"https://api.github.com/users/dlamprecht","html_url":"https://github.com/dlamprecht","followers_url":"https://api.github.com/users/dlamprecht/followers","following_url":"https://api.github.com/users/dlamprecht/following{/other_user}","gists_url":"https://api.github.com/users/dlamprecht/gists{/gist_id}","starred_url":"https://api.github.com/users/dlamprecht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlamprecht/subscriptions","organizations_url":"https://api.github.com/users/dlamprecht/orgs","repos_url":"https://api.github.com/users/dlamprecht/repos","events_url":"https://api.github.com/users/dlamprecht/events{/privacy}","received_events_url":"https://api.github.com/users/dlamprecht/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-23T19:25:53Z","updated_at":"2015-04-23T19:25:53Z","closed_at":null,"body":"Ist glaube ich schöner, wenn man abfragen kann:\r\n```\r\nif(this.getWert(koord) == Feld.SCHIFF) {\r\n    // Do blabalbla\r\n}\r\n```\r\nstatt:\r\n```\r\nif(this.getWert(koord) == 1) {\r\n    // Do blabalbla\r\n}\r\n```"}}