task that makes walkers deliver whatever items are needed by the IItemReceiver of the building under the task
used to supply food and wood to TownMarketComponent, to get building materials to TownConstructionComponent and for raw materials needed in TownProductionComponent
https://citybuilder.softleitner.com/manual/town
|
int | MinQuantity = 1 |
|
int | MaxQuantity = 1000 |
|
TownJob | Job |
|
Sprite | Icon |
|
Transform | Visual |
|
GameObject | Tool |
|
UnityEvent< string > | MessageReceived |
|
MessageEvent[] | MessageEvents |
|
string | Key |
|
|
override void | Update () |
|
virtual void | Awake () |
|
virtual void | OnDestroy () |
|
virtual string | saveExtras () |
|
virtual void | loadExtras (string json) |
|
|
override IEnumerable< TownWalker > | Walkers [get] |
|
IItemReceiver | Receiver [get] |
|
Guid | Id = Guid.NewGuid() [get] |
|
virtual IEnumerable< TownWalker > | Walkers [get] |
|
Vector2Int | Point [get] |
|
|
bool | _isTerminated |
|
bool | _isSuspended |
|
◆ CanStartTask()
override bool CityBuilderTown.TownDeliverTask.CanStartTask |
( |
TownWalker | walker | ) |
|
|
inlinevirtual |
◆ GetDescription()
override string CityBuilderTown.TownDeliverTask.GetDescription |
( |
| ) |
|
|
inlinevirtual |
◆ Update()
override void CityBuilderTown.TownDeliverTask.Update |
( |
| ) |
|
|
inlineprotectedvirtual |