Table of Contents

Class JellyFish

Namespace
Global
Assembly
Assembly-CSharp.dll
public class JellyFish : PlayerCarryableItem, IDrawable, IPlayerEdible
Inheritance
JellyFish
Implements
Inherited Members

Constructors

JellyFish(AbstractPhysicalObject)

public JellyFish(AbstractPhysicalObject abstractPhysicalObject)

Parameters

abstractPhysicalObject AbstractPhysicalObject

Fields

anyTentaclePulled

public bool anyTentaclePulled

Field Value

bool

bites

public int bites

Field Value

int

darkness

public float darkness

Field Value

float

dead

public bool dead

Field Value

bool

deathDarken

public float deathDarken

Field Value

float

electricCounter

public int electricCounter

Field Value

int

lastDarkness

public float lastDarkness

Field Value

float

lastRotation

public Vector2 lastRotation

Field Value

Vector2

latchOnToBodyChunks

public BodyChunk[] latchOnToBodyChunks

Field Value

BodyChunk[]

rotation

public Vector2 rotation

Field Value

Vector2

scratchTerrainCollisionData

public SharedPhysics.TerrainCollisionData scratchTerrainCollisionData

Field Value

SharedPhysics.TerrainCollisionData

setRotation

public Vector2? setRotation

Field Value

Vector2?

tentacles

public Vector2[][,] tentacles

Field Value

Vector2[][,]

tentaclesWithdrawn

public float tentaclesWithdrawn

Field Value

float

thrownBy

public Creature thrownBy

Field Value

Creature

Properties

AbstrConsumable

public AbstractConsumable AbstrConsumable { get; }

Property Value

AbstractConsumable

AutomaticPickUp

public bool AutomaticPickUp { get; }

Property Value

bool

BitesLeft

public int BitesLeft { get; }

Property Value

int

Edible

public bool Edible { get; }

Property Value

bool

Electric

public bool Electric { get; }

Property Value

bool

FoodPoints

public int FoodPoints { get; }

Property Value

int

HighLightSprite

public int HighLightSprite { get; }

Property Value

int

TotalSprites

public int TotalSprites { get; }

Property Value

int

Methods

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

AttachPos(int, float)

public Vector2 AttachPos(int rag, float timeStacker)

Parameters

rag int
timeStacker float

Returns

Vector2

BitByPlayer(Grasp, bool)

public void BitByPlayer(Creature.Grasp grasp, bool eu)

Parameters

grasp Creature.Grasp
eu bool

BodySprite(int)

public int BodySprite(int part)

Parameters

part int

Returns

int

Collide(PhysicalObject, int, int)

public override void Collide(PhysicalObject otherObject, int myChunk, int otherChunk)

Parameters

otherObject PhysicalObject
myChunk int
otherChunk int

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

HitByWeapon(Weapon)

public override void HitByWeapon(Weapon weapon)

Parameters

weapon Weapon

InitiateSprites(SpriteLeaser, RoomCamera)

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

Parameters

sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera

NewRoom(Room)

public override void NewRoom(Room newRoom)

Parameters

newRoom Room

PlaceInRoom(Room)

public override void PlaceInRoom(Room placeRoom)

Parameters

placeRoom Room

ResetTentacles()

public void ResetTentacles()

TentacleSprite(int)

public int TentacleSprite(int t)

Parameters

t int

Returns

int

ThrowByPlayer()

public void ThrowByPlayer()

Tossed(Creature)

public void Tossed(Creature tossedBy)

Parameters

tossedBy Creature

Update(bool)

public override void Update(bool eu)

Parameters

eu bool