Class Lizard
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class Lizard : AirBreatherCreature
- Inheritance
-
Lizard
- Inherited Members
-
Constructors
Lizard(AbstractCreature, World)
public Lizard(AbstractCreature abstractCreature, World world)
Parameters
abstractCreature AbstractCreature
world World
Fields
AI
Field Value
- LizardAI
animation
public Lizard.Animation animation
Field Value
- Lizard.Animation
applyGravity
Field Value
- bool
biteControlReset
public bool biteControlReset
Field Value
- bool
biteDelay
Field Value
- int
bodyWiggle
Field Value
- float
bubble
Field Value
- int
bubbleIntensity
public float bubbleIntensity
Field Value
- float
bwc
Field Value
- int
climbUpcoming
public bool climbUpcoming
Field Value
- bool
commitedToDropConnection
public MovementConnection commitedToDropConnection
Field Value
- MovementConnection
debugsprite1
public DebugSprite debugsprite1
Field Value
- DebugSprite
debugsprite2
public DebugSprite debugsprite2
Field Value
- DebugSprite
desperationSmoother
public float desperationSmoother
Field Value
- float
followingConnection
public MovementConnection followingConnection
Field Value
- MovementConnection
grabbedAttackCounter
public int grabbedAttackCounter
Field Value
- int
gripPoint
public Vector2? gripPoint
Field Value
- Vector2?
inAllowedTerrainCounter
public int inAllowedTerrainCounter
Field Value
- int
jawForcedShut
public float jawForcedShut
Field Value
- float
jawOpen
Field Value
- float
jumpHeldTime
Field Value
- int
jumpModule
public LizardJumpModule jumpModule
Field Value
- LizardJumpModule
lastFollowingConnection
public MovementConnection lastFollowingConnection
Field Value
- MovementConnection
lastJawOpen
Field Value
- float
limbsAimFor
public Vector2 limbsAimFor
Field Value
- Vector2
lizardParams
public LizardBreedParams lizardParams
Field Value
- LizardBreedParams
loungeDelay
Field Value
- int
loungeDir
Field Value
- Vector2
movementAnimation
public Lizard.MovementAnimation movementAnimation
Field Value
- Lizard.MovementAnimation
narrowUpcoming
public bool narrowUpcoming
Field Value
- bool
postLoungeStun
public int postLoungeStun
Field Value
- int
salamanderLurk
public bool salamanderLurk
Field Value
- bool
shortcutUpcoming
public bool shortcutUpcoming
Field Value
- bool
snakeTicker
Field Value
- int
spawnDataEvil
public float spawnDataEvil
Field Value
- float
straightenOutNeeded
public float straightenOutNeeded
Field Value
- float
swim
Field Value
- float
timeInAnimation
public int timeInAnimation
Field Value
- int
timeSpentTryingThisMove
public int timeSpentTryingThisMove
Field Value
- int
timeToRemainInAnimation
public int timeToRemainInAnimation
Field Value
- int
tongue
public LizardTongue tongue
Field Value
- LizardTongue
turnedByRockCounter
public int turnedByRockCounter
Field Value
- int
turnedByRockDirection
public int turnedByRockDirection
Field Value
- int
upcomingConnections
public List<MovementConnection> upcomingConnections
Field Value
- List<MovementConnection>
voice
Field Value
- LizardVoice
zeroGravityMovementThreshold
public static float zeroGravityMovementThreshold
Field Value
- float
Properties
BodyDesperation
public float BodyDesperation { get; }
Property Value
- float
BodyDirection
public int BodyDirection { get; }
Property Value
- int
BodyForce
public float BodyForce { get; }
Property Value
- float
BodyWiggleFac
public float BodyWiggleFac { get; }
Property Value
- float
DangerPos
public override Vector2 DangerPos { get; }
Property Value
- Vector2
IsWallClimber
public bool IsWallClimber { get; }
Property Value
- bool
JawOpen
public float JawOpen { get; set; }
Property Value
- float
JawReadyForBite
public bool JawReadyForBite { get; }
Property Value
- bool
LegsGripping
public int LegsGripping { get; }
Property Value
- int
LizardState
public LizardState LizardState { get; }
Property Value
- LizardState
NoGripCounter
public int NoGripCounter { get; }
Property Value
- int
SnakeCoil
public float SnakeCoil { get; }
Property Value
- float
VisibilityBonus
public override float VisibilityBonus { get; }
Property Value
- float
bodyWiggleCounter
public int bodyWiggleCounter { get; set; }
Property Value
- int
effectColor
public Color effectColor { get; set; }
Property Value
- Color
Methods
Act()
ActAnimation()
public float ActAnimation()
Returns
- float
AttemptBite(Creature)
public void AttemptBite(Creature creature)
Parameters
creature Creature
Bite(BodyChunk)
public void Bite(BodyChunk chunk)
Parameters
chunk BodyChunk
BodyStiff()
Returns
- bool
CarryObject(bool)
public void CarryObject(bool eu)
Parameters
eu bool
Collide(PhysicalObject, int, int)
public override void Collide(PhysicalObject otherObject, int myChunk, int otherChunk)
Parameters
otherObject PhysicalObject
myChunk int
otherChunk int
DamageAttack(BodyChunk, float)
public void DamageAttack(BodyChunk chunk, float dmgFac)
Parameters
chunk BodyChunk
dmgFac float
DamageAttackClosestChunk(Creature)
public void DamageAttackClosestChunk(Creature target)
Parameters
target Creature
EnterAnimation(Animation, bool)
public void EnterAnimation(Lizard.Animation anim, bool forceAnimationChange)
Parameters
anim Lizard.Animation
forceAnimationChange bool
FollowConnection(float)
public void FollowConnection(float runSpeed)
Parameters
runSpeed float
GetFrameSpeed(float)
public float GetFrameSpeed(float runSpeed)
Parameters
runSpeed float
Returns
- float
GrabInanimate(BodyChunk)
public void GrabInanimate(BodyChunk chunk)
Parameters
chunk BodyChunk
GripPointBehavior()
public void GripPointBehavior()
HitHeadShield(Vector2)
public bool HitHeadShield(Vector2 direction)
Parameters
direction Vector2
Returns
- bool
HitInMouth(Vector2)
public bool HitInMouth(Vector2 direction)
Parameters
direction Vector2
Returns
- bool
InitiateGraphicsModule()
public override void InitiateGraphicsModule()
JawsSnapShut(Vector2)
public void JawsSnapShut(Vector2 pos)
Parameters
pos Vector2
LoseAllGrasps()
public override void LoseAllGrasps()
MovementAnimationEnded(MovementConnection, bool)
public void MovementAnimationEnded(MovementConnection connection, bool success)
Parameters
connection MovementConnection
success bool
ReleaseGrasp(int)
public override void ReleaseGrasp(int grasp)
Parameters
grasp int
ShortCutColor()
public override Color ShortCutColor()
Returns
- Color
SpearStick(Weapon, float, BodyChunk, Pos, Vector2)
public override bool SpearStick(Weapon source, float dmg, BodyChunk chunk, PhysicalObject.Appendage.Pos onAppendagePos, Vector2 direction)
Parameters
source Weapon
dmg float
chunk BodyChunk
onAppendagePos PhysicalObject.Appendage.Pos
direction Vector2
Returns
- bool
SpitOutOfShortCut(IntVector2, Room, bool)
public override void SpitOutOfShortCut(IntVector2 pos, Room newRoom, bool spitOutAllSticks)
Parameters
pos IntVector2
newRoom Room
spitOutAllSticks bool
StartUp()
Stun(int)
public override void Stun(int st)
Parameters
st int
SwimBehavior()
public void SwimBehavior()
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
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