{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/327","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/327/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/327/events","html_url":"https://github.com/chrsmith/bwapi/issues/327","id":58381314,"number":327,"title":"Add Unit::isInAir()","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Maintainability","name":"Maintainability","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Milestone-Tournament","name":"Milestone-Tournament","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/NewFeature","name":"NewFeature","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Low","name":"Priority-Low","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-20T17:07:21Z","updated_at":"2015-02-20T17:07:22Z","closed_at":null,"body":"```\n1. The ability to perform a \"shift click\".\n\nFor example, make a shuttle pick up a unit that wants to cross to another \nisland and take it there:\n\nif ( !u->hasPath(u->getTargetPosition()) )\n{\n  bestShuttle->load(u, true);\n  bestShuttle->rightClick(u->getTargetPosition(), true);\n}\n\nif ( bestShuttle->isIdle() )\n{\n  bestShuttle->unloadAll();\n}\n\nAll applicable commands will become\ncommand(parameters, bool queued = false);\n\n----------------\n\nbool Unit::canAttack(Unit *target);\nReturn true if the unit can presently move to and/or attack the target (with \nground and air weapon checks, but not position checks).\n\nbool Unit::isInvincible();\nReturn true if the unit is currently invincible (stasis field, preplaced \ninvincible setting(can apply to critters in melee), or Use Map Settings \ninvincible trigger).\n```\n\n-----\nOriginal issue reported on code.google.com by `AHeinerm` on 3 Dec 2010 at 6:18"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75276638","html_url":"https://github.com/chrsmith/bwapi/issues/327#issuecomment-75276638","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/327","id":75276638,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T17:07:22Z","updated_at":"2015-02-20T17:07:22Z","body":"```\nPeople can add their own macro\n```\n\n-----\nOriginal comment by `AHeinerm` on 15 Apr 2011 at 8:55\n* Changed state: **WontFix**"}}