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

Detailed Description

roams around and collects items from the IGenerationComponent it encounters
the kinds of items it collects must be configured in Items

https://citybuilder.softleitner.com/manual/resources

Inheritance diagram for CityBuilderCore.CollectionWalker:
CityBuilderCore.BuildingComponentWalker< IGenerationComponent >

Classes

class  CollectionWalkerData
 

Public Member Functions

override string GetDebugText ()
 
override string SaveData ()
 
override void LoadData (string json)
 

Public Attributes

ItemStorage Storage
 
Item[] Items
 

Protected Member Functions

override void onComponentEntered (IGenerationComponent buildingComponent)
 
- Protected Member Functions inherited from CityBuilderCore.BuildingComponentWalker< IGenerationComponent >
override void onEntered (IBuilding building)
 called when the building first enters the walkers area
 
override void onRemaining (IBuilding building)
 called on every frame the walkers area contains the building
 
virtual void onComponentEntered (T buildingComponent)
 called when the building component first enters the walkers area
 
virtual void onComponentRemaining (T buildingComponent)
 called on every frame the walkers area contains the building component
 

Properties

override ItemStorage ItemStorage [get]
 
IItemContainer ItemContainer [get]