Romestead Assembly Reference

BM.CircleTarget

Type JSON

public class in BM

Methods7
Properties0
Fields12
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceBM
  • Base typeBM.Leaf
  • Hash1F08B3147B59EB557807027C69BD52DD09977D11DCBF025699E88604A2A4C5EF

Relationships

Fields

NameVisibilitySignature
currentRandomDirectionIntervalprivateprivate System.Single currentRandomDirectionInterval
currentRandomDirectionOffsetprivateprivate Microsoft.Xna.Framework.Vector2 currentRandomDirectionOffset
isChasingprivateprivate System.Boolean isChasing
isFleeingprivateprivate System.Boolean isFleeing
middleRangeRandomizationTimerprivateprivate System.Single middleRangeRandomizationTimer
randomDirectionIntervalTimerprivateprivate System.Single randomDirectionIntervalTimer
randomMiddleOffsetprivateprivate System.Single randomMiddleOffset
_reverseFlyDirprivateprivate System.Boolean _reverseFlyDir
_reverseFlyDirCooldownTimerprivateprivate System.Single _reverseFlyDirCooldownTimer
_reverseFlyOnCooldownprivateprivate System.Boolean _reverseFlyOnCooldown
_rotSpeedprivateprivate System.Single _rotSpeed
_sprivateprivate BM.CircleTargetSettings<T> _s

Methods

ApplyRandomMovement

private Microsoft.Xna.Framework.Vector2 ApplyRandomMovement(Microsoft.Xna.Framework.Vector2 flyDir, System.Single dt)

Method metadata
  • Visibilityprivate
  • Return typeMicrosoft.Xna.Framework.Vector2
  • StaticFalse
  • VirtualFalse
  • HashDF059DB30CBB45E8037444F8C972A2918622023D377ADA99C10B16B973FE5641
  • Body hash383BF88ED2A3D7FE17F1B55BEA533890049CA969242C95C759A5A2ACD7097607
  • IL size159
Referenced calls

CalculateFlightDirection

private Microsoft.Xna.Framework.Vector2 CalculateFlightDirection(System.Single toTargetDist, System.Single circleTargetFlyRadius, Microsoft.Xna.Framework.Vector2 toTargetDirNormalized, T target, System.Single offset, BM.BTUpdateContext updateCtx)

Method metadata
  • Visibilityprivate
  • Return typeMicrosoft.Xna.Framework.Vector2
  • StaticFalse
  • VirtualFalse
  • HashB054841F6757DC0C51BC56A9E239B1574EAE3D8553BD7F40AE350449ACCBD0D8
  • Body hashC04D91524BB154FBBE671C696FAD2FE315C3E9FDB3547822596AB2E8171DFCC7
  • IL size351
Referenced calls
  • Microsoft.Xna.Framework.Vector2::get_One()
  • Microsoft.Xna.Framework.Vector2::Normalize()
  • CandideServer.Entities.BehaviorMachine.Helpers.LeafHelper::GetVelocityFromT(T)
  • Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)
  • CandideServer.Entities.BehaviorMachine.Helpers.LeafHelper::GetVector3FromT(T)
  • Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
  • CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)
  • Shared.Entity.EntityWrapper::get_Position2()
  • Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::op_UnaryNegation(Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
  • Microsoft.Xna.Framework.Vector2::Lerp(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Single)

DrawDebugCircles

private System.Void DrawDebugCircles(Shared.Entity.EntityWrapper entity, T target, System.Single circleTargetFlyRadius, System.Single offset)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashA09DB1F5DCB7964839F92A97872F03931048613336166E63B989BE289D5C6E58
  • Body hash386E86BAE15680695E01966D8DA01581A35BB37B5CAEB715BF9C8BF26FA25B73
  • IL size127
Referenced calls

Update

protected Node.Status Update(BM.BTUpdateContext updateCtx, BM.Blackboard blackboard)

Method metadata
  • Visibilityprotected
  • Return typeNode.Status
  • StaticFalse
  • VirtualTrue
  • Hash2CAB8FC2B22556329FFB6D633F64E6FE296FA50DAD1198E472B1842CFD638C74
  • Body hash133DCD72BC101BE4B645E714688594CE4D7FC1877E48A49E46BFA1275B0EFF31
  • IL size285
Referenced calls

UpdateMiddleRangeRandomization

private System.Void UpdateMiddleRangeRandomization(System.Single dt)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash525D699451A8C40515D8C36C7DB0CDF5F5B97C8A8094BC71043FCF5A74A972BF
  • Body hashFB4219ADD1A5FFEA4FD2852EB070DD88780E59D72A25154919CDF8F7BA35E5A5
  • IL size90
Referenced calls

UpdateReverseFlyCooldown

private System.Void UpdateReverseFlyCooldown(System.Single dt)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash8105B928BEBC6904EE65F237DED4DF2F6C68AF09BF746E3A8A905724042A192D
  • Body hashFE1A1E1A6143EC33CF50C8CFE5B0995941CB54B9ED3B41FC2DDBE3031CB78C4B
  • IL size60

UpdateReverseFlyDirection

private System.Void UpdateReverseFlyDirection(Shared.Entity.EntityWrapper entity, Microsoft.Xna.Framework.Vector2 toTargetDirNormalized)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash937F0E5B4ED8CC5EE79B5F16CF7DB48D16DE6169CBB8BF9C6BB448AFEA96F1A6
  • Body hashF98E03B84A62E5AA6392AD2AD7EB42945879633D86F08970CFFCCCE13E337A81
  • IL size145
Referenced calls