Candide.Entities.Controllers.CrabController.CrabController
Type JSONpublic class in Candide.Entities.Controllers.CrabController
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.CrabController - Base type
Shared.Entity.Base.AbstractController - Hash
9DB04B0408A960583DE487FA8E85BFD4EB9FC07DA402B298DC585221FA428D38
Relationships
Base type
Derived types
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
_ambushSoundEvent# | private | private System.String _ambushSoundEvent |
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_attackSoundEvent# | private | private System.String _attackSoundEvent |
_deathSoundEvent# | private | private System.String _deathSoundEvent |
_footstepHandler# | private | private Candide.Sound.FootstepHandler _footstepHandler |
_footStepSoundEvent# | private | private System.String _footStepSoundEvent |
_footstepTime# | private | private System.Single _footstepTime |
_footstepVolume# | private | private System.Single _footstepVolume |
_hurtSoundEvent# | private | private System.String _hurtSoundEvent |
_normalAttackAnimationTimeScale# | private | private System.Single _normalAttackAnimationTimeScale |
_particlesSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet _particlesSheet |
_particleTimer# | private | private System.Single _particleTimer |
_sneakAttackAnimationTimeScale# | private | private System.Single _sneakAttackAnimationTimeScale |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
45CE2DD440E72452572F60703D996CAF549D33B310675CB73F844204BCE73925 - Body hash
4C6330328BB1027D053B972995F67997118ED257F8E3529D8916E02A8DCDD017 - IL size30
Referenced calls
CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::set_CurrentDirection(System.Int32)Candide.Entities.Animations.EntitySpacAnimationStateMachine::Draw(Shared.Entity.EntityWrapper)
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
31DCD0AC205CC1DB0EFFF189CB7142D035C8999AC27D52D288DDC52FC01C2426 - Body hash
654834BE3F2F230E6CA588DDC75E97CA63985AA60F9B208A4E164AC048DE748E - IL size762
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetString(System.String, System.String)CandideCreator.Shared.Helpers.Parameters::GetSprite(System.String)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)Candide.Entities.Controllers.CrabController.CrabController::GetSpac()Shared.Entity.EntityInitializeException::.ctor()CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.CrabController.CrabController::<EntityInitialize>b__13_0()System.Func<System.Boolean>::.ctor(System.Object, System.IntPtr)CandideCreator.Shared.SpacSystem.Transition::.ctor(System.String, System.String, System.Func<System.Boolean>, System.String, System.Boolean)Candide.Entities.Controllers.CrabController.CrabController::<EntityInitialize>b__13_1()Candide.Entities.Controllers.CrabController.CrabController::<EntityInitialize>b__13_2()Candide.Entities.Controllers.CrabController.CrabController::<EntityInitialize>b__13_3()Candide.Entities.Controllers.CrabController.CrabController::<EntityInitialize>b__13_4()Candide.Entities.Controllers.CrabController.CrabController::<EntityInitialize>b__13_5()Candide.Entities.Animations.EntitySpacAnimationStateMachine::.ctor(CandideCreator.Shared.Models.SpritesAnimationCollections.Spac, System.Collections.Generic.IEnumerable<CandideCreator.Shared.SpacSystem.State>, System.Collections.Generic.IEnumerable<CandideCreator.Shared.SpacSystem.Transition>)CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::SetState(System.String, System.Boolean)Shared.Entity.EntityWrapper::set_UsesSpac(System.Boolean)Candide.Graphics.VFX.SpacRenderingArgs::SetDefaultEntityOffset(Shared.Entity.EntityWrapper)System.String::IsNullOrEmpty(System.String)Candide.Sound.FootstepHandler::.ctor(System.Single, System.String)
String literals
ambush_sound_eventattack_sound_eventhurt_sound_eventdeath_sound_eventfootstep_sound_eventparticles_sheetnormal_attack_animation_time_scalesneak_attack_animation_time_scaleidlewalkattacksneakattackhiddenhidden_eyes*
GetSpac
#
public CandideCreator.Shared.Models.SpritesAnimationCollections.Spac GetSpac()
Method metadata
- Visibilitypublic
- Return type
CandideCreator.Shared.Models.SpritesAnimationCollections.Spac - StaticFalse
- VirtualTrue
- Hash
C8F93CDFF6165A481E508DC2EC478FE0F9F9FC4161504BC6FE462497661DDED6
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
CB0898384A34D7EC01D9E6BBAC6966462873ED6B5866C55F56233AA9BB60E776 - Body hash
30EAF6A1FCCFBCCFF121430CB897A9FE20BBE8979D6A9AE8B843A5152B9F1944 - IL size349
Referenced calls
System.Random::Next(System.Int32, System.Int32)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector4::get_One()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)Candide.Graphics.ParticleHelper::SpawnBouncyPushableParticle(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Candide.Graphics.Drawable&, System.Single, System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Health()System.String::IsNullOrEmpty(System.String)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Shared.Entity.Base.AbstractController::OnDamaged(Shared.Combat.DamageResult)
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
A79EBD5A98D295F6D902CE9CB352C5EC6A459F67CE4D555CD0A72E511E6DEB16 - Body hash
6E77DF51A537CBAEAF1E1909E7B6C513BED1A089962C1B425248CB6EC7F14F3E - IL size118
Referenced calls
Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Candide.Entities.Controllers.CrabController.CrabController::SpawnDeathParticles()System.String::IsNullOrEmpty(System.String)Candide.Graphics.VFX.VfxPlayer::HandleCreatureDeath(Shared.Entity.EntityWrapper, Shared.Combat.DamageResult, Candide.Entities.Animations.EntitySpacAnimationStateMachine, System.Nullable<DeathHelper.DeathPartsArgs>, CreatureDeathHandler.Size, System.String, System.Int32, System.Single)
String literals
event:/hits/destruction/gore_small
ReceiveEntityAnimationMessage
#
public System.Void ReceiveEntityAnimationMessage(System.Byte animation)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
227974DA8FEE04359E584AD43CA4B287FBC460A062CBFDE1947327719CE1A052 - Body hash
905CB6C65003DB3FDCFBA7FC972EC23B06D6AFD537EA39ECB4754DC1AE770719 - IL size29
Referenced calls
String literals
attack
ReceiveEntityVfxMessage
#
public System.Void ReceiveEntityVfxMessage(System.Byte vfx)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
526597687DFB75934107A1DB16BBB48489B9CC949404FD1E5B61556A701E9A18 - Body hash
3DA97900CFC5BAA0C2FB7F3275C8DB3314DB6283B190F135B8B21724FD34FD85 - IL size584
Referenced calls
System.String::IsNullOrEmpty(System.String)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToAngle(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::TurnAngle(System.Single, System.Single)Microsoft.Xna.Framework.Vector3::get_Down()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::AngleToVector3(System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector4::get_One()Candide.Graphics.VFX.VfxPlayer::PlaySpacAnimation(System.String, System.String, Microsoft.Xna.Framework.Vector3, Candide.Graphics.VFX.SpacRenderingArgs, System.Single)Microsoft.Xna.Framework.Vector3::get_Right()Microsoft.Xna.Framework.Vector3::get_Left()Candide.Entities.Controllers.CrabController.CrabController::SpawnSneakAttackParticles()
String literals
vfx_crab_snapcrab_snap
SpawnDeathParticles
#
public System.Void SpawnDeathParticles()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
7618A05C9EDD65D053B993403DB2BFE9C07A2CE7EFC440B6E5E0F336350B6687 - Body hash
6A61416D1CDA746944EF7D1A89DB1C36B940E6A93122D67F2670644476A87003 - IL size246
Referenced calls
CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)System.Random::Next(System.Int32, System.Int32)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector4::get_One()Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::get_Fdt()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)Candide.Graphics.ParticleHelper::GetRandomDirectionVelocity(System.Single, System.Single, System.Single)Candide.Graphics.ParticleHelper::SpawnBouncyPushableParticle(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Candide.Graphics.Drawable&, System.Single, System.Single, System.Single, System.Single)
SpawnSneakAttackParticles
#
public System.Void SpawnSneakAttackParticles()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F17DD79C6A67D7B06F84F1C1AA287906B9C847B941072243B06BEEE6DF8822C6 - Body hash
00013D781724EBAA3FF95206C98931BE39CD72F451B1413D3E0F1A3507917271 - IL size246
Referenced calls
CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)System.Random::Next(System.Int32, System.Int32)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector4::get_One()Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::get_Fdt()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)Candide.Graphics.ParticleHelper::GetRandomDirectionVelocity(System.Single, System.Single, System.Single)Candide.Graphics.ParticleHelper::SpawnBouncyPushableParticle(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Candide.Graphics.Drawable&, System.Single, System.Single, System.Single, System.Single)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
D412A099DAE7E302FFD228EBDD74B2B7B754F4BB85ED8DFF40185DDB6B0F6A64 - Body hash
40F789D199EE6D25F3ACC024C165B4DB22DD7179612A331C7F65D6C8C0B15BB3 - IL size439
Referenced calls
CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::get_CurrentState()CandideCreator.Shared.SpacSystem.ISpacAnimationState::get_StateName()System.String::op_Equality(System.String, System.String)Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.EntityWrapper::get_DistanceWalked()CandideCreator.Shared.SpacSystem.ISpacAnimationState::set_TimeScale(System.Single)Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector3::Length()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)System.Random::Next(System.Int32, System.Int32)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector4::get_One()Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)Candide.Graphics.ParticleHelper::GetRandomDirectionVelocity(System.Single, System.Single, System.Single)Candide.Graphics.ParticleHelper::SpawnBouncyPushableParticle(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Candide.Graphics.Drawable&, System.Single, System.Single, System.Single, System.Single)Candide.Sound.FootstepHandler::PlayFootstepSound(Shared.Entity.EntityWrapper, System.Single, System.Single)Candide.Entities.Animations.EntitySpacAnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)
String literals
walk