C# Class FishIndustry.PlaceWorker_FishingPierSpawner

FishingPier custom PlaceWorker class.
Inheritance: PlaceWorker
Show file Open project: Rikiki123456789/Rimworld

Public Methods

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

Check if a new fishing pier can be built at this location. - the fishing pier bank cell must be on a bank. - the rest of the fishing pier and the fishing spot must be on water. - must not be too near from another fishing pier.

IsAquaticTerrain ( IntVec3 position ) : bool

Method Details

AllowsPlacing() public method

Check if a new fishing pier can be built at this location. - the fishing pier bank cell must be on a bank. - the rest of the fishing pier and the fishing spot must be on water. - must not be too near from another fishing pier.
public AllowsPlacing ( BuildableDef checkingDef, IntVec3 loc, Rot4 rot ) : AcceptanceReport
checkingDef BuildableDef
loc IntVec3
rot Rot4
return AcceptanceReport

IsAquaticTerrain() public static method

public static IsAquaticTerrain ( IntVec3 position ) : bool
position IntVec3
return bool