private bool forceAssignWorker(Dwarf d, IBuilding building) { // NOTE: You should probably be using cleanAssignWorker // This function is most only for the dwarfs to call when they're for assignment // Forces the provided worker to be assigned into the building // This will dissapear the worker wherever it is on the map // It is assumed the worker has already been removed from the free worker queue // The gameState will update the worker counts for us gameState.assignWorker(building); // Update the display // TODO: Break this function up into dispalyInputs, displayOutputs and displayCosts displayBuildingResouceDelta(building); d.eraseSelf(); // TODO: Worker pooling GameObject.Destroy(d.gameObject); return(true); }