findIdleWorker
findIdleWorker(
world,findIdleWorkerOptions?):Entity|null
The idle worker nearest from on the ground that where passes, or
null: what an order’s default chooseWorker picks, as Clash of Clans
sends the next free builder.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
findIdleWorkerOptions |
FindIdleWorkerOptions |
Returns
Section titled “Returns”Entity | null