Class Cicada
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class Cicada : InsectoidCreature
- Inheritance
-
Cicada
- Inherited Members
-
Constructors
Cicada(AbstractCreature, World, bool)
public Cicada(AbstractCreature abstractCreature, World world, bool gender)
Parameters
abstractCreature AbstractCreature
world World
gender bool
Fields
AI
Field Value
- CicadaAI
cantPickUpCounter
public int cantPickUpCounter
Field Value
- int
cantPickUpPlayer
public Player cantPickUpPlayer
Field Value
- Player
chargeCounter
Field Value
- int
chargeDir
Field Value
- Vector2
currentlyLiftingPlayer
public bool currentlyLiftingPlayer
Field Value
- bool
flipH
Field Value
- int
flying
Field Value
- bool
flyingPower
Field Value
- float
gender
Field Value
- bool
iVars
public Cicada.IndividualVariations iVars
Field Value
- Cicada.IndividualVariations
noStickyCounter
public int noStickyCounter
Field Value
- int
playerJumpBoost
public float playerJumpBoost
Field Value
- float
sinCounter
Field Value
- float
sitDirection
public IntVector2 sitDirection
Field Value
- IntVector2
stamina
Field Value
- float
stickyCling
public BodyChunk stickyCling
Field Value
- BodyChunk
struggleAgainstPlayer
public float struggleAgainstPlayer
Field Value
- float
waitToFlyCounter
public int waitToFlyCounter
Field Value
- int
Properties
AtSitDestination
public bool AtSitDestination { get; }
Property Value
- bool
Charging
public bool Charging { get; }
Property Value
- bool
LiftPlayerPower
public float LiftPlayerPower { get; }
Property Value
- float
WantToSitDownAtDestination
public bool WantToSitDownAtDestination { get; }
Property Value
- bool
Methods
Act()
BodySitPosOffset(IntVector2)
public Vector2 BodySitPosOffset(IntVector2 pos)
Parameters
pos IntVector2
Returns
- Vector2
CarryObject()
public void CarryObject()
Charge(Vector2)
public void Charge(Vector2 pos)
Parameters
pos Vector2
Climbable(IntVector2)
public bool Climbable(IntVector2 tile)
Parameters
tile IntVector2
Returns
- bool
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()
FindBodySitPos(IntVector2)
public IntVector2 FindBodySitPos(IntVector2 headPos)
Parameters
headPos IntVector2
Returns
- IntVector2
GenerateIVars()
public void GenerateIVars()
GrabbedByPlayer()
public void GrabbedByPlayer()
InitiateGraphicsModule()
public override void InitiateGraphicsModule()
Land()
RecreateSticksFromAbstract()
public override void RecreateSticksFromAbstract()
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
Swim()
TakeOff(Vector2)
public void TakeOff(Vector2 dir)
Parameters
dir Vector2
TerrainImpact(int, IntVector2, float, bool)
public override void TerrainImpact(int chunk, IntVector2 direction, float speed, bool firstContact)
Parameters
chunk int
direction IntVector2
speed float
firstContact bool
TryToGrabPrey(PhysicalObject)
public bool TryToGrabPrey(PhysicalObject prey)
Parameters
prey PhysicalObject
Returns
- bool
Update(bool)
public override void Update(bool eu)
Parameters
eu bool