Open Jabbo16 opened 6 years ago
Do you have a specific example? I think UnitCommand
was intentionally left out because UnitCommand
is basically UnitCommandType
+ Order
+ OrderTarget
, etc. I haven't looked at it too closely, though.
UnitCommand reflects what was sent to the game engine via BWAPI. Orders reflect the state of the game engine.
UnitCommands are a nice-to-have, but their functionality can be reproduced by BWAPI4J consumers without the aid of the framework (ie. track what commands you issue).
Its easier to use UnitCommands than to track orders 😅
Fair enough. I'll look into some time and see what can be done.
UnitCommand.java has been implemented in the raw interface. This issue can be closed after raw
is merged into develop
.
I noticed some bots use
UnitCommand
for micro and order spam checks but It seems that in BWAPI4J there is onlyUnitCommandType
available withgetLastCommand
.