Class StowawayBug
- Namespace
- MoreSlugcats
- Assembly
- Assembly-CSharp.dll
public class StowawayBug : InsectoidCreature, PhysicalObject.IHaveAppendages
- Inheritance
-
StowawayBug
- Implements
-
- Inherited Members
-
Constructors
StowawayBug(AbstractCreature, World)
public StowawayBug(AbstractCreature abstractCreature, World world)
Parameters
abstractCreature AbstractCreature
world World
Fields
AI
Field Value
- StowawayBugAI
anyTentaclePulled
public bool anyTentaclePulled
Field Value
- bool
colorPickPos
public Vector2 colorPickPos
Field Value
- Vector2
currentDirection
public Vector2 currentDirection
Field Value
- Vector2
eatObjects
public List<StowawayBug.EatObject> eatObjects
Field Value
- List<StowawayBug.EatObject>
goalDirection
public Vector2 goalDirection
Field Value
- Vector2
headCooldown
public float[] headCooldown
Field Value
- float[]
headFired
Field Value
- bool[]
headLength
Field Value
- float
heads
Field Value
- Tentacle[]
huntDelay
Field Value
- int
lastDirection
public Vector2 lastDirection
Field Value
- Vector2
mawOpen
Field Value
- bool
originalPos
public Vector2 originalPos
Field Value
- Vector2
placedDirection
public Vector2 placedDirection
Field Value
- Vector2
sleepScale
Field Value
- float
spitCooldown
Field Value
- int
teethCount
Field Value
- int
teethSeed
Field Value
- int
tentacles
public Vector2[][,] tentacles
Field Value
- Vector2[][,]
tentaclesWithdrawn
public float tentaclesWithdrawn
Field Value
- float
Properties
VisibilityBonus
public override float VisibilityBonus { get; }
Property Value
- float
Methods
Act()
AppendagePosition(int, int)
public Vector2 AppendagePosition(int appendage, int segment)
Parameters
appendage int
segment int
Returns
- Vector2
ApplyForceOnAppendage(Pos, Vector2)
public void ApplyForceOnAppendage(PhysicalObject.Appendage.Pos pos, Vector2 momentum)
Parameters
pos PhysicalObject.Appendage.Pos
momentum Vector2
AttachPos(int, float)
public Vector2 AttachPos(int rag, float timeStacker)
Parameters
rag int
timeStacker float
Returns
- Vector2
CanBeGrabbed(Creature)
public override bool CanBeGrabbed(Creature grabber)
Parameters
grabber Creature
Returns
- bool
Carry(bool, int)
public void Carry(bool eu, int head)
Parameters
eu bool
head int
Collide(PhysicalObject, int, int)
public override void Collide(PhysicalObject otherObject, int myChunk, int otherChunk)
Parameters
otherObject PhysicalObject
myChunk int
otherChunk int
Die()
public override void Die()
Eat(bool)
Parameters
eu bool
InitiateGraphicsModule()
public override void InitiateGraphicsModule()
NewRoom(Room)
public override void NewRoom(Room newRoom)
Parameters
newRoom Room
Rad(float)
public float Rad(float f)
Parameters
f float
Returns
- float
ResetTentacles()
public void ResetTentacles()
SetStartDirection(Vector2)
public void SetStartDirection(Vector2 direction)
Parameters
direction Vector2
ShortCutColor()
public override Color ShortCutColor()
Returns
- Color
SpitOutOfShortCut(IntVector2, Room, bool)
public override void SpitOutOfShortCut(IntVector2 pos, Room newRoom, bool spitOutAllSticks)
Parameters
pos IntVector2
newRoom Room
spitOutAllSticks bool
Stun(int)
public override void Stun(int st)
Parameters
st int
Update(bool)
public override void Update(bool eu)
Parameters
eu bool
Violence(BodyChunk, Vector2?, BodyChunk, Pos, DamageType, float, float)
public override void Violence(BodyChunk source, Vector2? directionAndMomentum, BodyChunk hitChunk, PhysicalObject.Appendage.Pos onAppendagePos, Creature.DamageType type, float damage, float stunBonus)
Parameters
source BodyChunk
directionAndMomentum Vector2?
hitChunk BodyChunk
onAppendagePos PhysicalObject.Appendage.Pos
type Creature.DamageType
damage float
stunBonus float
bodySetup()