C# 클래스 FishIndustry.PlaceWorker_FishingPierSpawner

FishingPier custom PlaceWorker class.
상속: PlaceWorker
파일 보기 프로젝트 열기: Rikiki123456789/Rimworld

공개 메소드들

메소드 설명
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

메소드 상세

AllowsPlacing() 공개 메소드

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
리턴 AcceptanceReport

IsAquaticTerrain() 공개 정적인 메소드

public static IsAquaticTerrain ( IntVec3 position ) : bool
position IntVec3
리턴 bool