Candide.Entities.Controllers.Other.SpikeTrapController
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Shared.Entity.Base.AbstractController - Hash
7AC7A806ED53883E3B83072C0412A7F7EC569A477A992120F9603269FFDC1063
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_attackCooldown# | private | private System.Single _attackCooldown |
_audioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _audioEvent |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
A5EEB260192E013110579D851329A1C6D0D5AE0F906B6C62B35A127B181373C9 - Body hash
BB05AC63CFACD4612C2487A858FFBCBCB4451609E6720D51139D5CA4E6C967B5 - IL size18
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F59EFBCF67C85E47A6E42E94E74AFADF13C5EDD209A8CCBD62F8DA0F93CAAC48 - Body hash
6343396AF2C1CC3C2545B1C45CD8C38A245721B60E3B54675E5ED6A390F0AAFC - IL size454
Referenced calls
Candide.Database.SpacDataBase::GetSpacOrNull(System.String)Shared.Entity.EntityInitializeException::.ctor()CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.Other.SpikeTrapController::<EntityInitialize>b__3_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)SpikeTrapController.<>c::<EntityInitialize>b__3_1()Candide.Entities.Controllers.Other.SpikeTrapController::<EntityInitialize>b__3_2()SpikeTrapController.<>c::<EntityInitialize>b__3_3()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)Microsoft.Xna.Framework.Vector3::get_Zero()
String literals
spike_trapinactiveopeningactiveclosing
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9D024430D8269F4EBD8408E24F76EF59942F000379A0712C3697EA13E7524DE3 - Body hash
40E36B4F83A316E3F1A84ACC6EC4EB8E89CBA6F5F414587C8C72AA6CD9034120 - IL size100
Referenced calls
Candide.Sound.AudioEventArgs::.ctor(System.String, System.Boolean, System.Single, System.Single)Candide.Sound.AudioEventFactory::CreateAudioEvent(Candide.Sound.AudioEventArgs, System.Boolean, System.Boolean, Shared.Entity.EntityWrapper)Candide.Sound.AudioEvent.AudioEvent::Play()Candide.Sound.AudioEvent.AudioEvent::Stop(System.Boolean)Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)
String literals
event:/buildings/traps/knife_trap_active
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
AFC80F1D722C93AF414661A2BFBEACD435FF68F6FAB13821F9075FA3CD1A7054 - Body hash
9CF9E1151E176064EF7A796163EDF2C3536C0299571FB8BE05CFED4034465419 - IL size348
Referenced calls
CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::get_CurrentState()Shared.Entity.EntityWrapper::get_Fdt()Candide.Entities.Animations.EntitySpacAnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)Shared.Entity.EntityWrapper::get_Controller()Shared.Entity.EntityWrapper::get_Position2()CandideCreator.Shared.Models.RectangleF::.ctor(System.Single, System.Single, System.Single, System.Single)CandideCreator.Shared.Models.RectangleF::Contains(Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Position()System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Combat.SharedCombatHandler::CalculateDamage(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper, Shared.Combat.DamageTypesArray, System.Nullable<Microsoft.Xna.Framework.Vector3>, System.Nullable<Microsoft.Xna.Framework.Vector3>, Shared.Combat.DamageSourceType, System.String, Shared.Combat.DamageVfxType, System.Boolean, System.Single, System.Single, Shared.Combat.DamageVfxModifier, Shared.Combat.AttackType, System.Boolean)Shared.Combat.SharedCombatHandler::DoDamage(Shared.Combat.DamageInfo)Candide.Sound.AudioEvent.AudioEvent::SetPosition(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Candide.Sound.AudioEvent.AudioEvent::Update(System.Single)Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)