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

Detailed Description

roams around and reduces the risks of IRiskRecipient while it is in range

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

Inheritance diagram for CityBuilderCore.RiskWalker:
CityBuilderCore.BuildingComponentWalker< IRiskRecipient > CityBuilderCore.FireWalker

Public Attributes

Risk Risk
 
float Amount = 100f
 

Protected Member Functions

override void onComponentRemaining (IRiskRecipient risker)
 
- Protected Member Functions inherited from CityBuilderCore.BuildingComponentWalker< IRiskRecipient >
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