Table of Contents

Class EggBugEgg

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

Constructors

EggBugEgg(AbstractPhysicalObject)

public EggBugEgg(AbstractPhysicalObject abstractPhysicalObject)

Parameters

abstractPhysicalObject AbstractPhysicalObject

Fields

bites

public int bites

Field Value

int

blackColor

public Color blackColor

Field Value

Color

darkness

public float darkness

Field Value

float

eggColors

public Color[] eggColors

Field Value

Color[]

lastDarkness

public float lastDarkness

Field Value

float

lastRotation

public Vector2 lastRotation

Field Value

Vector2

liquid

public float liquid

Field Value

float

liquidDeplete

public float liquidDeplete

Field Value

float

rotVel

public float rotVel

Field Value

float

rotation

public Vector2 rotation

Field Value

Vector2

segments

public Vector2[,] segments

Field Value

Vector2[,]

setRotation

public Vector2? setRotation

Field Value

Vector2?

swell

public float swell

Field Value

float

Properties

AutomaticPickUp

public bool AutomaticPickUp { get; }

Property Value

bool

BitesLeft

public int BitesLeft { get; }

Property Value

int

Edible

public bool Edible { get; }

Property Value

bool

FoodPoints

public int FoodPoints { get; }

Property Value

int

SwellFac

public float SwellFac { get; }

Property Value

float

abstractBugEgg

public EggBugEgg.AbstractBugEgg abstractBugEgg { get; }

Property Value

EggBugEgg.AbstractBugEgg

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

BitByPlayer(Grasp, bool)

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

Parameters

grasp Creature.Grasp
eu bool

ConnectSegment(int)

public void ConnectSegment(int i)

Parameters

i 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

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

ResetSegments()

public void ResetSegments()

ThrowByPlayer()

public void ThrowByPlayer()

Update(bool)

public override void Update(bool eu)

Parameters

eu bool