Loading...
Searching...
No Matches
CityBuilderCore.WorkerPath Class Reference

Detailed Description

reference and path to a workers workplace
may include a path to an itemGiver to get supplies needed for the work

Classes

class  WorkerPathData
 

Public Member Functions

 WorkerPath (BuildingComponentReference< IWorkerUser > workerUser, WalkingPath place)
 
void AddSupply (BuildingComponentReference< IItemGiver > giver, ItemQuantity items, WalkingPath supplyPath)
 
WorkerPathData GetData ()
 

Static Public Member Functions

static WorkerPath FromData (WorkerPathData data)
 

Properties

BuildingComponentReference< IWorkerUserWorkerUser [get]
 
WalkingPath PlacePath [get]
 
BuildingComponentReference< IItemGiverGiver [get]
 
ItemQuantity Items [get]
 
WalkingPath SupplyPath [get]