Class: Builder

Builder()

new Builder()

Source:

Methods

CanRepair(target) → {boolean}

Parameters:
Name Type Description
target number The target to check.
Source:
Returns:
- Whether we can build/repair the given target.
Type
boolean

IsTargetInRange(target) → {boolean}

Parameters:
Name Type Description
target number The entity ID of the target to check.
Source:
Returns:
- Whether this entity is in range of its target.
Type
boolean

PerformBuilding()

Repair our target entity.
Source:

StartRepairing(target, callerIID) → {boolean}

Parameters:
Name Type Description
target number The target to repair.
callerIID number The IID to notify on specific events.
Source:
Returns:
- Whether we started repairing.
Type
boolean

StopRepairing(reason)

Parameters:
Name Type Description
reason string The reason why we stopped repairing.
Source: