예제 #1
0
 public void onMyUnitDestroyed(Unit unit)
 {
     var myunit = new BW.Unit(unit);
     State.onMyUnitDestroyed(myunit);
 }
예제 #2
0
 public async Task BuildGas()
 {
     with_gas = true;
     TilePosition tile_position = Location.getGeysers().First().getTilePosition();
     var item = State.pushItem("Protoss Assimilator", tile_position);            
     assimilator = await item.buildingTask.Task;
     if (assimilator == null)
         with_gas = false;
 }
예제 #3
0
 public void onMyUnitMorph(Unit unit)
 {
     var myunit = new BW.Unit(unit);
     // State.onMyUnitCreated(myunit);
     AIState.onMyUnitMorph(myunit);
 }