The slides are available here.
My last few commits to the BWAPI svn have been working toward the goal of adding Bullet support to BWAPI. So far the exact size and location of the Bullet table have been determined, and the following functions have been added to a new BWAPI::Bullet interface and have been implemented in the new BWAPI::BulletImpl class:
- getType()
- getOwner()
- getPosition()
- getRemoveTimer()
- exists()
- isVisible()
isVisible() is currently implemented in a simple/naive way that should work correctly in most cases, but will need to be rewritten at some point to work with cloaked/burrowed units. The other functions should be implemented correctly but have not been tested very much yet.
Next I'm going to try to figure out how to read the Bullet's target, direction/heading, and velocity, and also start a wiki page that documents the Bullet interface.
No comments:
Post a Comment