Class JetFishGraphics
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class JetFishGraphics : GraphicsModule, IDrawable
- Inheritance
-
JetFishGraphics
- Implements
-
- Inherited Members
-
Constructors
JetFishGraphics(JetFish)
public JetFishGraphics(JetFish ow)
Parameters
ow JetFish
Fields
airEyes
Field Value
- float
fish
Field Value
- JetFish
flipperGraphConPointHeights
public static float[] flipperGraphConPointHeights
Field Value
- float[]
flipperGraphWidth
public float flipperGraphWidth
Field Value
- float
flippers
public GenericBodyPart[] flippers
Field Value
- GenericBodyPart[]
lastZRotation
public Vector2 lastZRotation
Field Value
- Vector2
swim
Field Value
- float
tails
public TailSegment[,] tails
Field Value
- TailSegment[,]
whiskerDirections
public Vector2[] whiskerDirections
Field Value
- Vector2[]
whiskerProps
public float[,] whiskerProps
Field Value
- float[,]
whiskers
public GenericBodyPart[,] whiskers
Field Value
- GenericBodyPart[,]
zRotation
Field Value
- Vector2
Properties
Albino
public bool Albino { get; }
Property Value
- bool
BehindEyeSprite
public int BehindEyeSprite { get; }
Property Value
- int
BodySprite
public int BodySprite { get; }
Property Value
- int
TotalSprites
public int TotalSprites { get; }
Property Value
- int
TotalWhiskerSprites
public int TotalWhiskerSprites { get; }
Property Value
- int
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
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
EyeSprite(int, int)
public int EyeSprite(int eye, int part)
Parameters
eye int
part int
Returns
- int
FlipperSprite(int)
public int FlipperSprite(int flipper)
Parameters
flipper int
Returns
- int
InitiateSprites(SpriteLeaser, RoomCamera)
public override void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
TentacleContour(float, int)
public float TentacleContour(float f, int i)
Parameters
f float
i int
Returns
- float
TentacleSprite(int)
public int TentacleSprite(int tentacle)
Parameters
tentacle int
Returns
- int
Update()
public override void Update()
WhiskerSprite(int, int)
public int WhiskerSprite(int side, int whisker)
Parameters
side int
whisker int
Returns
- int
whiskerDir(int, int, Vector2, Vector2)
public Vector2 whiskerDir(int side, int m, Vector2 zRot, Vector2 bodyDir)
Parameters
side int
m int
zRot Vector2
bodyDir Vector2
Returns
- Vector2