ocraft / ocraft-s2client

StarCraft II Client - Java library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
55 stars 15 forks source link

Add a forceRefresh for ObservationInterface.getGameInfo() #40

Closed lpalm closed 4 years ago

ocraft commented 4 years ago

Looks good, you probably also want to do the same for isPathable/isPlacable/terrainHeight because they by default use cached version of getGameInfo().

lpalm commented 4 years ago

Good point. terrainHeight never changes though?

ocraft commented 4 years ago

Yes, probably not :)