C# Class ForceField.PlaceWorker_ForceFieldGenerator

ForceFieldGenerator custom place worker class.
Inheritance: PlaceWorker
ファイルを表示 Open project: Rikiki123456789/Rimworld

Public Methods

Method Description
AllowsPlacing ( BuildableDef checkingDef, IntVec3 loc, Rot4 rot ) : AcceptanceReport

Checks if a new force field generator can be built at this location. - must not be too near from another force field generator (or it would perturb other fields).

Method Details

AllowsPlacing() public method

Checks if a new force field generator can be built at this location. - must not be too near from another force field generator (or it would perturb other fields).
public AllowsPlacing ( BuildableDef checkingDef, IntVec3 loc, Rot4 rot ) : AcceptanceReport
checkingDef BuildableDef
loc IntVec3
rot Rot4
return AcceptanceReport