C# Class AlertSpeaker.PlaceWorker_AlertSpeaker

AlertSpeaker custom place worker class.
Inheritance: PlaceWorker
Mostrar archivo Open project: Rikiki123456789/Rimworld

Public Methods

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

Checks if a new alert speaker can be built at this location. - must be near a wall, - must not be too near from another alert speaker.

Method Details

AllowsPlacing() public method

Checks if a new alert speaker can be built at this location. - must be near a wall, - must not be too near from another alert speaker.
public AllowsPlacing ( BuildableDef checkingDef, IntVec3 loc, Rot4 rot ) : AcceptanceReport
checkingDef BuildableDef
loc IntVec3
rot Rot4
return AcceptanceReport