Skip to content

Polygon getPositions#1

Open
cozos wants to merge 5 commits intovjurenka:masterfrom
anava:master
Open

Polygon getPositions#1
cozos wants to merge 5 commits intovjurenka:masterfrom
anava:master

Conversation

@cozos
Copy link
Copy Markdown

@cozos cozos commented Mar 29, 2015

I'm not familiar with JNI, so apologies if this is broken or if there are any missing pieces for adding new wrapper functions

  1. Added getPositions() to the Java API, which calls the native c++ impl
  2. Added the getPositions_native wrapper to BWMirror 1.2 and 2.1, which takes a Polygon (which extends std::vectorBWAPI::Position) and returns and ArrayList of Positions

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants