Blizzard / s2client-api

StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
1.66k stars 281 forks source link

Request: GameInfo.all_start_locations #161

Closed davechurchill closed 7 years ago

davechurchill commented 7 years ago

Right now we have access to Observation()->GetGameInfo().enemy_start_locations

Would it be possible to have an additional vector which included all start locations?

A common use case is to loop over all start locations on the map to do some strategic logic, but right now they are separated into the vector of possible enemy start locations and a separate listing for the player's start location, which makes this iteration a little annoying to set up.

AnthonyBrunasso commented 7 years ago

Added in #162