task that makes walkers go to it and progress it while playing the work animation
used by the TownConstructionComponent
https://citybuilder.softleitner.com/manual/town
|
int | WalkerCount = 1 |
|
float | Duration = 1f |
|
TownJob | Job |
|
Sprite | Icon |
|
Transform | Visual |
|
GameObject | Tool |
|
UnityEvent< string > | MessageReceived |
|
MessageEvent[] | MessageEvents |
|
string | Key |
|
|
override string | saveExtras () |
|
override void | loadExtras (string json) |
|
virtual void | Awake () |
|
virtual void | Update () |
|
virtual void | OnDestroy () |
|
|
float | Progress [get] |
|
override IEnumerable< TownWalker > | Walkers [get] |
|
Guid | Id = Guid.NewGuid() [get] |
|
virtual IEnumerable< TownWalker > | Walkers [get] |
|
Vector2Int | Point [get] |
|
|
bool | _isTerminated |
|
bool | _isSuspended |
|
◆ CanStartTask()
override bool CityBuilderTown.TownBuildTask.CanStartTask |
( |
TownWalker | walker | ) |
|
|
inlinevirtual |
◆ GetDebugText()
override string CityBuilderTown.TownBuildTask.GetDebugText |
( |
| ) |
|
|
inlinevirtual |
◆ GetDescription()
override string CityBuilderTown.TownBuildTask.GetDescription |
( |
| ) |
|
|
virtual |
◆ loadExtras()
override void CityBuilderTown.TownBuildTask.loadExtras |
( |
string | json | ) |
|
|
inlineprotectedvirtual |
◆ ProgressTask()
override bool CityBuilderTown.TownBuildTask.ProgressTask |
( |
TownWalker | walker, |
|
|
string | key ) |
|
inlinevirtual |
◆ saveExtras()
override string CityBuilderTown.TownBuildTask.saveExtras |
( |
| ) |
|
|
inlineprotectedvirtual |