Class ShelterDoor
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class ShelterDoor : UpdatableAndDeletable, IDrawable
- Inheritance
-
ShelterDoor
- Implements
-
- Inherited Members
-
Constructors
ShelterDoor(Room)
public ShelterDoor(Room room)
Parameters
room Room
Fields
aiMapper
Field Value
- AImapper
ancientDoors
public ShelterDoor.Door[] ancientDoors
Field Value
- Door[]
brokenFlaps
Field Value
- float
brokenSegs
Field Value
- float
checkForSpawnGhostSlugcat
public bool checkForSpawnGhostSlugcat
Field Value
- bool
closeSpeed
Field Value
- float
closeTiles
public IntVector2[] closeTiles
Field Value
- IntVector2[]
closedFac
Field Value
- float
covers
Field Value
- float[,]
dir
Field Value
- Vector2
doorGraphs
public ShelterDoor.DoorGraphic[] doorGraphs
Field Value
- DoorGraphic[]
gasketMoverLoop
public StaticSoundLoop gasketMoverLoop
Field Value
- StaticSoundLoop
initialWait
Field Value
- float
isAncient
Field Value
- bool
killHostiles
Field Value
- bool
lastClosed
Field Value
- bool
lastViewed
Field Value
- bool
openTime
Field Value
- int
openUpTicks
Field Value
- float
pZero
Field Value
- Vector2
perp
Field Value
- Vector2
pistons
Field Value
- float[,]
playerSpawnPos
public IntVector2 playerSpawnPos
Field Value
- IntVector2
pumps
Field Value
- float[,]
rainCycle
public RainCycle rainCycle
Field Value
- RainCycle
retrieveStuffStuckInWalls
public bool retrieveStuffStuckInWalls
Field Value
- bool
segmentPairs
public float[,] segmentPairs
Field Value
- float[,]
workingLoop
public StaticSoundLoop workingLoop
Field Value
- StaticSoundLoop
Properties
Broken
public bool Broken { get; }
Property Value
- bool
Closed
public float Closed { get; }
Property Value
- float
Covers
public float Covers { get; }
Property Value
- float
Cylinders
public float Cylinders { get; }
Property Value
- float
FlapsOpen
public float FlapsOpen { get; }
Property Value
- float
IsClosing
public bool IsClosing { get; }
Property Value
- bool
IsOpening
public bool IsOpening { get; }
Property Value
- bool
Pistons
public float Pistons { get; }
Property Value
- float
PistonsClosed
public float PistonsClosed { get; }
Property Value
- float
PumpsEnter
public float PumpsEnter { get; }
Property Value
- float
PumpsExit
public float PumpsExit { get; }
Property Value
- float
QuieterSoundFactor
public float QuieterSoundFactor { get; }
Property Value
- float
QuieterSoundFactorMax
public float QuieterSoundFactorMax { get; }
Property Value
- float
QuieterSoundFactorMin
public float QuieterSoundFactorMin { get; }
Property Value
- float
Segments
public float Segments { get; }
Property Value
- float
Methods
AddToContainer(SpriteLeaser, RoomCamera, FContainer)
public void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer
ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)
public void ApplyPalette(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette
public void ChangeAncientDoorsStatus(int door, bool open)
Parameters
door int
open bool
Close()
CogSprite(int)
public int CogSprite(int cog)
Parameters
cog int
Returns
- int
CoordInsideShelterRange(IntVector2, bool)
public static bool CoordInsideShelterRange(IntVector2 tile, bool ancient)
Parameters
tile IntVector2
ancient bool
Returns
- bool
CoverSprite(int)
public int CoverSprite(int cover)
Parameters
cover int
Returns
- int
CylinderSprite(int)
public int CylinderSprite(int cylinder)
Parameters
cylinder int
Returns
- int
DestroyExcessiveObjects()
public void DestroyExcessiveObjects()
DoorClosed()
DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)
public void DrawSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2
FlapSprite(int)
public int FlapSprite(int flap)
Parameters
flap int
Returns
- int
GetStuffInWalls()
public void GetStuffInWalls()
InitiateSprites(SpriteLeaser, RoomCamera)
public void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
IsThisBigCreatureForShelter(AbstractCreature)
public static bool IsThisBigCreatureForShelter(AbstractCreature creature)
Parameters
creature AbstractCreature
Returns
- bool
IsThisHostileCreatureForShelter(AbstractCreature)
public static bool IsThisHostileCreatureForShelter(AbstractCreature creature)
Parameters
creature AbstractCreature
Returns
- bool
KillAllHostiles()
public void KillAllHostiles()
PistonSprite(int)
public int PistonSprite(int piston)
Parameters
piston int
Returns
- int
PlugSprite(int)
public int PlugSprite(int plug)
Parameters
plug int
Returns
- int
PumpSprite(int)
public int PumpSprite(int pump)
Parameters
pump int
Returns
- int
Reset()
SegmentSprite(int)
public int SegmentSprite(int segment)
Parameters
segment int
Returns
- int
Update(bool)
public override void Update(bool eu)
Parameters
eu bool
UpdatePathfindingCreatures()
public void UpdatePathfindingCreatures()