BM.MoveInForwardDirectionUntilDistance
Type JSONpublic class in BM
Type metadata
- Assembly
CandideServer - Namespace
BM - Base type
BM.Leaf - Hash
3BF83CA26BABB8D5D0464C32F341892E4CC540B5D08C1AD47FC32E967923BF08
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
_distanceTravelled# | private | private System.Single _distanceTravelled |
_previousPosition# | private | private Microsoft.Xna.Framework.Vector2 _previousPosition |
Methods
Initialize
#
protected System.Void Initialize(BM.BTUpdateContext updateCtx, BM.Blackboard blackboard)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1426E56F779A48051FF757D3AEEB740F9B710540B9442BED60DB25133DB7D6B2 - Body hash
474AF3E1C3E575D872951D0CFE6FAA456AC73CA6E657D92FE88CA99FAF13BB0E - IL size29
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()
Update
#
protected Node.Status Update(BM.BTUpdateContext updateCtx, BM.Blackboard blackboard)
Method metadata
- Visibilityprotected
- Return type
Node.Status - StaticFalse
- VirtualTrue
- Hash
6B53D90AE6CCB85A88A055DCDE757E148EFCE1442E3DD1937A5A01F8FE088A32 - Body hash
20AC83F4EEC03C273574477A2722458D98C40DE753B1493BE550E3A061E0C951 - IL size135
Referenced calls
BM.NodeArg<System.Single>::TryGet(BM.Blackboard, T&)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::get_VelocityZ()Microsoft.Xna.Framework.Vector3::.ctor(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)