-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update StaticBuilding methods to public #72
Comments
Feel free to make a PR! Otherwise I will look into it when I have time |
After going through the code, can you not use: JBWAPI/src/main/java/bwem/BWMap.java Line 134 in e5521b2
Although the reference BWEM-community implementation has them public and doesnt have this onUnitDestroyed function. I can make both of them public too, but as Does the Constructor of |
If BWEM-Community has it public, I vote to match. Not a strongly held opinion. |
I think we should either leave it private, or make |
I agree with Dan. If it's public in BWAPI we should maintain that across to JBWAPI |
Sorry if it was unclear, this is not from (J)BWAPI interface, but the BWEM interface. The original porters of BWEM to Java decided to add a public method For your JBWEB implementation, you probably want to just call There seem to be 4 solutions:
(1) is backwards compatible (maybe some people are already using I want to release a v2.0 with @dgant 's Personally I favor towards (1) or (2), with a slight tilt towards (1) , as I think the problem for most of us is that we dont have a strong opinion on this 😄 @MrTate can you see if just using |
https://github.com/JavaBWAPI/JBWAPI/blob/develop/src/main/java/bwem/StaticBuilding.java#L26
https://github.com/JavaBWAPI/JBWAPI/blob/develop/src/main/java/bwem/BWMap.java#L161
These are needed for pulling in the latest version (1.15) of BWEB into JBWEB
The text was updated successfully, but these errors were encountered: