Exemplo n.º 1
0
 public AIDestinationMoveManager(NavMeshAgent objectAgent, AbstractAIInteractiveObjectInitializerData AIInteractiveObjectInitializerData, OnAIInteractiveObjectDestinationReachedDelegate OnAIInteractiveObjectDestinationReached)
 {
     this.objectAgent = objectAgent;
     lastSuccessfulWorldDestination               = new Vector3(9999999, 99999999, 9999999);
     this.AIInteractiveObjectInitializerData      = AIInteractiveObjectInitializerData;
     this.OnAIInteractiveObjectDestinationReached = OnAIInteractiveObjectDestinationReached;
     currentSpeedAttenuationFactor = AIMovementSpeedDefinition.RUN;
 }
Exemplo n.º 2
0
 public AISpeedEventDispatcher(CoreInteractiveObject associatedInteractiveObject, AbstractAIInteractiveObjectInitializerData aIInteractiveObjectInitializerData)
 {
     AssociatedInteractiveObject        = associatedInteractiveObject;
     AIInteractiveObjectInitializerData = aIInteractiveObjectInitializerData;
 }
Exemplo n.º 3
0
 public AIMoveToDestinationSystem(CoreInteractiveObject CoreInteractiveObject, AbstractAIInteractiveObjectInitializerData AIInteractiveObjectInitializerData,
                                  OnAIInteractiveObjectDestinationReachedDelegate OnAIInteractiveObjectDestinationReached)
 {
     this.IsEnabled           = true;
     AIDestinationMoveManager = new AIDestinationMoveManager(CoreInteractiveObject.InteractiveGameObject.Agent, AIInteractiveObjectInitializerData, OnAIInteractiveObjectDestinationReached);
     AISpeedEventDispatcher   = new AISpeedEventDispatcher(CoreInteractiveObject, AIInteractiveObjectInitializerData);
 }