C# Class RA.SkyfallerUtil

Mostra file Open project: RWA-Team/RimworldAscension

Public Methods

Method Description
DoImpactExplosion ( Thing instigator, float radius ) : void
DoRoofPunch ( IntVec3 position ) : void
Impact ( Thing skyfaller, Thing resultThing ) : void
MakeDebrisCrashingAt ( IntVec3 loc ) : void
MakeDropPodCrashingAt ( IntVec3 loc, RimWorld.DropPodInfo cargo ) : void
MakeMeteoriteCrashingAt ( IntVec3 loc ) : void
MakeShipWreckCrashingAt ( IntVec3 dropCenter, List thingsGroups, int openDelay = 120, bool canInstaDropDuringInit = true, bool leaveSlag = false, bool canRoofPunch = false ) : void
SkyfallerPositionChange ( IntVec3 position, int ticksBeforeImpact, bool landing = false ) : Vector3

Method Details

DoImpactExplosion() public static method

public static DoImpactExplosion ( Thing instigator, float radius ) : void
instigator Thing
radius float
return void

DoRoofPunch() public static method

public static DoRoofPunch ( IntVec3 position ) : void
position IntVec3
return void

Impact() public static method

public static Impact ( Thing skyfaller, Thing resultThing ) : void
skyfaller Thing
resultThing Thing
return void

MakeDebrisCrashingAt() public static method

public static MakeDebrisCrashingAt ( IntVec3 loc ) : void
loc IntVec3
return void

MakeDropPodCrashingAt() public static method

public static MakeDropPodCrashingAt ( IntVec3 loc, RimWorld.DropPodInfo cargo ) : void
loc IntVec3
cargo RimWorld.DropPodInfo
return void

MakeMeteoriteCrashingAt() public static method

public static MakeMeteoriteCrashingAt ( IntVec3 loc ) : void
loc IntVec3
return void

MakeShipWreckCrashingAt() public static method

public static MakeShipWreckCrashingAt ( IntVec3 dropCenter, List thingsGroups, int openDelay = 120, bool canInstaDropDuringInit = true, bool leaveSlag = false, bool canRoofPunch = false ) : void
dropCenter IntVec3
thingsGroups List
openDelay int
canInstaDropDuringInit bool
leaveSlag bool
canRoofPunch bool
return void

SkyfallerPositionChange() public static method

public static SkyfallerPositionChange ( IntVec3 position, int ticksBeforeImpact, bool landing = false ) : Vector3
position IntVec3
ticksBeforeImpact int
landing bool
return UnityEngine.Vector3