Class MouseGraphics
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class MouseGraphics : GraphicsModule, IDrawable, ILookingAtCreatures
- Inheritance
-
MouseGraphics
- Implements
-
- Inherited Members
-
Constructors
MouseGraphics(PhysicalObject)
public MouseGraphics(PhysicalObject ow)
Parameters
ow PhysicalObject
Fields
backToCam
Field Value
- float
blackColor
Field Value
- Color
blink
Field Value
- int
breath
Field Value
- float
charging
Field Value
- float
creatureLooker
public CreatureLooker creatureLooker
Field Value
- CreatureLooker
flicker
Field Value
- float
flickerDuration
public float flickerDuration
Field Value
- float
flickeringFac
public float flickeringFac
Field Value
- float
handsOutWhileHanging
public bool handsOutWhileHanging
Field Value
- bool
hangBackwards
public bool hangBackwards
Field Value
- bool
head
Field Value
- BodyPart
lastBackToCam
public float lastBackToCam
Field Value
- float
lastConsious
Field Value
- bool
lastLookDir
public Vector2 lastLookDir
Field Value
- Vector2
lastProfileFac
public float lastProfileFac
Field Value
- float
lastRunCycle
public float lastRunCycle
Field Value
- float
lightMode
Field Value
- float
lightSource
public LightSource lightSource
Field Value
- LightSource
limbs
Field Value
- Limb[,]
litRoom
Field Value
- float
lookDir
Field Value
- Vector2
ouchEyes
Field Value
- int
profileFac
Field Value
- float
ropePositions
public Vector2[,] ropePositions
Field Value
- Vector2[,]
runCycle
Field Value
- float
soundLoop
public ChunkDynamicSoundLoop soundLoop
Field Value
- ChunkDynamicSoundLoop
superCharge
Field Value
- float
tail
Field Value
- BodyPart
unconsiousProfileFac
public float unconsiousProfileFac
Field Value
- float
Properties
Battery
public float Battery { get; }
Property Value
- float
BodyColor
public Color BodyColor { get; }
Property Value
- Color
DecalColor
public Color DecalColor { get; }
Property Value
- Color
EyesColor
public Color EyesColor { get; }
Property Value
- Color
HeadSprite
public int HeadSprite { get; }
Property Value
- int
LightStrength
public float LightStrength { get; }
Property Value
- float
TotalSprites
public int TotalSprites { get; }
Property Value
- int
mouse
public LanternMouse mouse { get; }
Property Value
- LanternMouse
Methods
AddToContainer(SpriteLeaser, RoomCamera, FContainer)
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
BackSpotSprite(int, int)
public int BackSpotSprite(int pos, int side)
Parameters
pos int
side int
Returns
- int
BodySprite(int)
public int BodySprite(int bodySegment)
Parameters
bodySegment int
Returns
- int
CreatureInterestBonus(CreatureRepresentation, float)
public float CreatureInterestBonus(Tracker.CreatureRepresentation crit, float score)
Parameters
crit Tracker.CreatureRepresentation
score float
Returns
- float
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
EyeASprite(int)
public int EyeASprite(int eye)
Parameters
eye int
Returns
- int
EyeBSprite(int)
public int EyeBSprite(int eye)
Parameters
eye int
Returns
- int
EyeCSprite(int)
public int EyeCSprite(int eye)
Parameters
eye int
Returns
- int
ForcedLookCreature()
public Tracker.CreatureRepresentation ForcedLookCreature()
Returns
- Tracker.CreatureRepresentation
InitiateSprites(SpriteLeaser, RoomCamera)
public override void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
LimbSprite(int, int)
public int LimbSprite(int side, int limb)
Parameters
side int
limb int
Returns
- int
LookAtNothing()
public void LookAtNothing()
Reset()
public override void Reset()
ResetUnconsiousProfile()
public void ResetUnconsiousProfile()
RopeSprite(int)
public int RopeSprite(int ropeSegment)
Parameters
ropeSegment int
Returns
- int
ShouldThisLimbRetract(int, int)
public bool ShouldThisLimbRetract(int pos, int side)
Parameters
pos int
side int
Returns
- bool
SpawnAsHanging()
public void SpawnAsHanging()
TerrainImpact(float)
public void TerrainImpact(float speed)
Parameters
speed float
Update()
public override void Update()