Class SporePlant.AttachedBee
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class SporePlant.AttachedBee : PhysicalObject, IDrawable
- Inheritance
-
SporePlant.AttachedBee
- Implements
-
- Inherited Members
-
Constructors
AttachedBee(Room, AbstractPhysicalObject, BodyChunk, Vector2, Vector2, float, float, bool)
public AttachedBee(Room room, AbstractPhysicalObject abstrObj, BodyChunk attachedChunk, Vector2 beePos, Vector2 beeDir, float life, float lifeTime, bool beeBosting)
Parameters
room Room
abstrObj AbstractPhysicalObject
attachedChunk BodyChunk
beePos Vector2
beeDir Vector2
life float
lifeTime float
beeBosting bool
Fields
attachedChunk
public BodyChunk attachedChunk
Field Value
- BodyChunk
attachedPos
public Vector2 attachedPos
Field Value
- Vector2
idealStingerDir
public Vector2 idealStingerDir
Field Value
- Vector2
lastRot
Field Value
- Vector2
lastStingerOut
public bool lastStingerOut
Field Value
- bool
life
Field Value
- float
lifeTime
Field Value
- float
popped
Field Value
- bool
ropeLength
Field Value
- float
rot
Field Value
- Vector2
shrinkTo
Field Value
- float
stinger
public Vector2[,] stinger
Field Value
- Vector2[,]
stingerAttachPos
public Vector2 stingerAttachPos
Field Value
- Vector2
stingerOut
Field Value
- bool
stingerWaitCounter
public int stingerWaitCounter
Field Value
- int
Methods
AddToContainer(SpriteLeaser, RoomCamera, FContainer)
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
BreakStinger()
public void BreakStinger()
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
HitByExplosion(float, Explosion, int)
public override void HitByExplosion(float hitFac, Explosion explosion, int hitChunk)
Parameters
hitFac float
explosion Explosion
hitChunk int
InitiateSprites(SpriteLeaser, RoomCamera)
public void InitiateSprites(RoomCamera.SpriteLeaser sLeaser, RoomCamera rCam)
Parameters
sLeaser RoomCamera.SpriteLeaser
rCam RoomCamera
Update(bool)
public override void Update(bool eu)
Parameters
eu bool