Candide.Entities.Controllers.TurtleNewController.TurtleController
Type JSONpublic class in Candide.Entities.Controllers.TurtleNewController
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.TurtleNewController - Base type
Shared.Entity.Base.AbstractController - Hash
BD0B51AB679860E7AD6583C7F5A5AB90944D63DA56DF26D098ABB981E622D544
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_isConsideredThrownDurationTimer# | private | private System.Single _isConsideredThrownDurationTimer |
_isExplosive# | private | private System.Boolean _isExplosive |
_isThrown# | private | private System.Boolean _isThrown |
_velocityThresholdForExplosion# | private | private System.Single _velocityThresholdForExplosion |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
7B408C84F8558B433A77CB15DFBF4EB7624102664CD736BFCF44ED5F49456F7D - Body hash
63A1F2DF9F6503F1AA22362773DC533B55ECED3D50EFEDD66EA1FB09F6CBA5C4 - IL size18
CreateExplodingTurtleSpac
#
private CandideCreator.Shared.Models.SpritesAnimationCollections.Spac CreateExplodingTurtleSpac()
Method metadata
- Visibilityprivate
- Return type
CandideCreator.Shared.Models.SpritesAnimationCollections.Spac - StaticTrue
- VirtualFalse
- Hash
BBF959FB7DFF97B77B687FE562570C0470C15410F45EAA4BAB1A49499134A10F - Body hash
9A8D56782F74C689A6CFDA57715EF53161A9D3C273BD774D73ABB294B88F9D49 - IL size156
Referenced calls
Candide.Database.SpacDataBase::GetSpacOrCrash(System.String)System.String::Concat(System.String, System.String)CandideCreator.Shared.Content::SpriteSheet(System.String, System.Int32, System.Int32, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Models.SpritesAnimationCollections.Spac::GetCopyWithOtherSpriteSheets(CandideCreator.Shared.Graphics.SpriteSheet[])
String literals
new_turtle_animationsmedia/sprites/creatures/wildlife/turtle1/turtle_bomb_idleturtle_bomb_shellturtle_bomb_walkturtle_bomb_withdraw
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B109CCBD6B3A9500CAF52E78D853BED61CE299214837ECB3870A4B0F9A685A56 - Body hash
7A1DF0EB6A386BAB8B1987382C4752B4996183783B908295235B1B9643C9F433 - IL size525
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)Candide.Database.SpacDataBase::GetSpacOrCrash(System.String)Candide.Entities.Controllers.TurtleNewController.TurtleController::CreateExplodingTurtleSpac()System.Func<CandideCreator.Shared.Models.SpritesAnimationCollections.Spac>::.ctor(System.Object, System.IntPtr)Candide.Entities.SpacCopyManager::GetCachedSkin(System.String, System.Func<CandideCreator.Shared.Models.SpritesAnimationCollections.Spac>)CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.TurtleNewController.TurtleController::<EntityInitialize>b__5_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.TurtleNewController.TurtleController::<EntityInitialize>b__5_1()Candide.Entities.Controllers.TurtleNewController.TurtleController::<EntityInitialize>b__5_2()Candide.Entities.Controllers.TurtleNewController.TurtleController::<EntityInitialize>b__5_3()Candide.Entities.Controllers.TurtleNewController.TurtleController::<EntityInitialize>b__5_4()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)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)
String literals
is_explosivenew_turtle_animationsexplosive_turtleidlewalkshellwithdrawemerge*velocity_threshold_for_explosion
OnAttached
#
public System.Void OnAttached(Shared.Entity.EntityWrapper carrierEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
CC4DCC2C05A7B96E1282101222DA37390075DA0BDBB766CFF2F063688DFE444A - Body hash
BB9F0A8B4F23635104C6FB0A3D8C6D8643DF2135D2D1FF9CC873279670FBD501 - IL size58
Referenced calls
Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)Shared.Entity.Base.AbstractController::OnAttached(Shared.Entity.EntityWrapper)
OnEntityCollision
#
public System.Boolean OnEntityCollision(Shared.Entity.EntityWrapper otherEntity, Microsoft.Xna.Framework.Vector3 thisOldVelocity, Microsoft.Xna.Framework.Vector3 thisNewVelocity, Microsoft.Xna.Framework.Vector3 otherOldVelocity, Microsoft.Xna.Framework.Vector3 otherNewVelocity, out Microsoft.Xna.Framework.Vector3& overrideVelocity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
8D7F73DBA14837E76300C795825FEE9E784CA9D0E8B2155A0CA74437D4698F36 - Body hash
D25DB2FED2D27AE32D79F6B78C0E0B76D36E9B6F4409A92EA1C365F4569B8F94 - IL size63
Referenced calls
CandideServer.Entities.ControllerSets.TurtleNew.SharedTurtleBehaviour::ShouldExplode(Shared.Entity.EntityWrapper, System.Boolean, System.Boolean, Microsoft.Xna.Framework.Vector3, System.Single)CandideServer.Entities.ControllerSets.TurtleNew.SharedTurtleBehaviour::OnEntityCollision(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
7A87B2962DC53A8AC29D599B7B65D22417D6E980726AA33C2A2B9C42E298E0EE - Body hash
A317E1CF35F5D010710093CA8D3EF5E30DE09AEFD10B322B7F34C1CC15927BD5 - IL size72
Referenced calls
Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)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
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
02C201434A964DC5FB524A91DAE4F09EEA03ECDA63CFCF9495260E1FC0EFBE7C - Body hash
B1BCC4BA2872109943FCBD9FF90152B60944067CEF4A2C498B7E14EBF258C343 - IL size28
Referenced calls
Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)
OnTerrainCollision
#
public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3& velocity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
155567A654424BB3B84D61E6E91C3722192C6B441BE14EB72AEB3C472A3A301D - Body hash
7CAF235051EC375A9175DF0F7684339DE6362028ECEFBB1CC620F4C9680A7CAE - IL size41
Referenced calls
CandideServer.Entities.ControllerSets.TurtleNew.SharedTurtleBehaviour::ShouldExplode(Shared.Entity.EntityWrapper, System.Boolean, System.Boolean, Microsoft.Xna.Framework.Vector3, System.Single)CandideServer.Entities.ControllerSets.TurtleNew.SharedTurtleBehaviour::OnTerrainCollision(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)
OnThrown
#
public System.Void OnThrown(Shared.Entity.EntityWrapper throwingEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
A4FDCBDD7F144EBCD59B3119643A4AC09BEF92EC20AA794F2233378B0AFBBFCF - Body hash
DDF27B73F202BC50738AC1F7ADA1D4A8BB3BB077FC6199805089A3BD5076BC89 - IL size26
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
FFAB260DE2AEEDF9A141C969D85AB8CDDCA7D00EDCA2B8641823E1E1DBB2ACDE - Body hash
4F302DD80C1073EA4E09746169AFBD4649C497443C2FBD4A841B4BEEA647BA3F - IL size248
Referenced calls
CandideServer.Entities.ControllerSets.TurtleNew.SharedTurtleBehaviour::Update(Shared.Entity.EntityWrapper, System.Int32)CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::get_CurrentState()CandideCreator.Shared.SpacSystem.ISpacAnimationState::get_StateName()System.String::op_Equality(System.String, System.String)Shared.Entity.EntityWrapper::get_DistanceWalked()Shared.Entity.EntityWrapper::get_Fdt()CandideCreator.Shared.SpacSystem.ISpacAnimationState::set_TimeScale(System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionTo8IntDirection(System.Single)CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::set_CurrentDirection(System.Int32)Candide.Entities.Animations.EntitySpacAnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)Shared.Entity.EntityWrapper::get_Velocity2()Microsoft.Xna.Framework.Vector2::Length()
String literals
walk