I'm not familiar with JNI, so apologies if this is broken or if there are any missing pieces for adding new wrapper functions
Added getPositions() to the Java API, which calls the native c++ impl
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
I'm not familiar with JNI, so apologies if this is broken or if there are any missing pieces for adding new wrapper functions
Thoughts?