Skip to content
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

Map information #114

Closed
heinermann opened this issue Jan 19, 2014 · 3 comments
Closed

Map information #114

heinermann opened this issue Jan 19, 2014 · 3 comments
Labels

Comments

@heinermann
Copy link
Member

From goo...@teabix.com on November 18, 2009 10:16:34

appending on Issue 91 Info about the map should be accessible, but the getInitialXYZ approach
proves to be unesthetic, and conflicting with Issue 114 (if it persist).
My suggestions:

  • every mineral, geyser and p12 unit is accessible during onStart, let the
    AI decide what to save (if at all, my AI only saves the analysis results).
    or
  • getStaticGeysers, getStaticMinerals and getStaticNeutralUnits return a
    copy of the units in question, made when the game started. This way all
    the original functions can be used.

I like the first one =)

Original issue: http://code.google.com/p/bwapi/issues/detail?id=115

@heinermann
Copy link
Member Author

From lowerlo...@gmail.com on November 18, 2009 09:00:12

Neutral units should already be accessible during onStart.

@heinermann
Copy link
Member Author

From goo...@teabix.com on November 18, 2009 09:29:50

you're right, my fault (local bug), the required data now is accessible during
onStart.

sry =D

@heinermann
Copy link
Member Author

From lowerlo...@gmail.com on November 18, 2009 09:44:20

Status: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant