Table of Contents

Class Ghost

Namespace
Global
Assembly
Assembly-CSharp.dll
public class Ghost : CosmeticSprite, IDrawable, IRunDuringDialog, Conversation.IOwnAConversation
Inheritance
Ghost
Implements
Inherited Members

Constructors

Ghost(Room, PlacedObject, GhostWorldPresence)

public Ghost(Room room, PlacedObject placedObject, GhostWorldPresence worldGhost)

Parameters

room Room
placedObject PlacedObject
worldGhost GhostWorldPresence

Fields

airResistance

public float airResistance

Field Value

float

behindBodySprites

public int behindBodySprites

Field Value

int

blackColor

public Color blackColor

Field Value

Color

chains

public Ghost.Chains chains

Field Value

Ghost.Chains

conversationStartedButPlayerLeftCounter

public int conversationStartedButPlayerLeftCounter

Field Value

int

currentConversation

public GhostConversation currentConversation

Field Value

GhostConversation

defaultFlip

public float defaultFlip

Field Value

float

fadeOut

public float fadeOut

Field Value

float

flip

public float flip

Field Value

float

flipFrom

public float flipFrom

Field Value

float

flipProg

public float flipProg

Field Value

float

flipSpeed

public float flipSpeed

Field Value

float

flipTo

public float flipTo

Field Value

float

goldColor

public Color goldColor

Field Value

Color

hasRequestedShutDown

public bool hasRequestedShutDown

Field Value

bool

lastFadeOut

public float lastFadeOut

Field Value

float

legs

public Ghost.Part[,] legs

Field Value

Part[,]

lightSpriteScale

public float lightSpriteScale

Field Value

float

lowerLegSegments

public int lowerLegSegments

Field Value

int

onScreenCounter

public int onScreenCounter

Field Value

int

placedObject

public PlacedObject placedObject

Field Value

PlacedObject

rags

public Ghost.Rags rags

Field Value

Ghost.Rags

scale

public float scale

Field Value

float

sinBob

public float sinBob

Field Value

float

snoutSegments

public int snoutSegments

Field Value

int

spine

public Ghost.Part[] spine

Field Value

Part[]

spineBendPoint

public int spineBendPoint

Field Value

int

spineSegments

public int spineSegments

Field Value

int

theMarkMode

public bool theMarkMode

Field Value

bool

thighSegments

public int thighSegments

Field Value

int

totalSprites

public int totalSprites

Field Value

int

totalStaticSprites

public int totalStaticSprites

Field Value

int

worldGhost

public GhostWorldPresence worldGhost

Field Value

GhostWorldPresence

Properties

BodyMeshSprite

public int BodyMeshSprite { get; }

Property Value

int

DistortionSprite

public int DistortionSprite { get; }

Property Value

int

FadeSprite

public int FadeSprite { get; }

Property Value

int

HeadMeshSprite

public int HeadMeshSprite { get; }

Property Value

int

LightSprite

public int LightSprite { get; }

Property Value

int

NeckConnectorSprite

public int NeckConnectorSprite { get; }

Property Value

int

rainWorld

public RainWorld rainWorld { get; }

Property Value

RainWorld

Methods

public override void AddToContainer(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, FContainer newContatiner)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
newContatiner FContainer

ApplyPalette(SpriteLeaser, RoomCamera, RoomPalette)

public override void ApplyPalette(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, RoomPalette palette)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
palette RoomPalette

ButtockSprite(int)

public int ButtockSprite(int side)

Parameters

side int

Returns

int

DrawSprites(SpriteLeaser, RoomCamera, float, Vector2)

public override void DrawSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam, float timeStacker, Vector2 camPos)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
timeStacker float
camPos Vector2

InitiateSprites(SpriteLeaser, RoomCamera)

public override void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

LoadElement(string)

public void LoadElement(string elementName)

Parameters

elementName string

LowerLegContour(float, bool, float)

public float LowerLegContour(float f, bool side, float flip)

Parameters

f float
side bool
flip float

Returns

float

LowerLegSprite(int)

public int LowerLegSprite(int side)

Parameters

side int

Returns

int

ReplaceParts(string)

public string ReplaceParts(string s)

Parameters

s string

Returns

string

Reset()

public void Reset()

SnoutContour(float, bool, float)

public float SnoutContour(float f, bool side, float sideView)

Parameters

f float
side bool
sideView float

Returns

float

SpecialEvent(string)

public void SpecialEvent(string eventName)

Parameters

eventName string

StartConversation()

public void StartConversation()

ThighContour(float, bool)

public float ThighContour(float f, bool side)

Parameters

f float
side bool

Returns

float

ThightSprite(int)

public int ThightSprite(int side)

Parameters

side int

Returns

int

Update(bool)

public override void Update(bool eu)

Parameters

eu bool