Пример #1
0
 public MoveToLastSeenPlayerPositionStateManager(TrackAndKillPlayerStateBehavior trackAndKillPlayerbehaviorRef, PlayerObjectStateDataSystem playerObjectStateDataSystem,
                                                 ISetAIAgentDestinationActionCallback ISetAIAgentDestinationActionCallback, Action AskedToExitTrackAndKillPlayerBehaviorAction,
                                                 IMoveToLastSeenPlayerPositionStateManagerWorkflowCallback IMoveToLastSeenPlayerPositionStateManagerWorkflowCallback)
 {
     TrackAndKillPlayerbehaviorRef                    = trackAndKillPlayerbehaviorRef;
     PlayerObjectStateDataSystem                      = playerObjectStateDataSystem;
     this.ISetAIAgentDestinationActionCallback        = ISetAIAgentDestinationActionCallback;
     this.AskedToExitTrackAndKillPlayerBehaviorAction = AskedToExitTrackAndKillPlayerBehaviorAction;
     this.IMoveToLastSeenPlayerPositionStateManagerWorkflowCallback = IMoveToLastSeenPlayerPositionStateManagerWorkflowCallback;
 }
Пример #2
0
 public MoveTowardsPlayerStateManager(TrackAndKillPlayerStateBehavior trackAndKillAIbehaviorRef, SoldierAIBehaviorDefinition SoldierAIBehaviorDefinition,
                                      CoreInteractiveObject AssociatedInteractiveObject, PlayerObjectStateDataSystem playerObjectStateDataSystem, WeaponFiringAreaSystem WeaponFiringAreaSystem,
                                      ISetAIAgentDestinationActionCallback ISetAIAgentDestinationActionCallback, IMoveTowardsPlayerStateManagerWorkflowCallback IMoveTowardsPlayerStateManagerWorkflowCallback)
 {
     TrackAndKillAIbehaviorRef                           = trackAndKillAIbehaviorRef;
     this.SoldierAIBehaviorDefinition                    = SoldierAIBehaviorDefinition;
     this.AssociatedInteractiveObject                    = AssociatedInteractiveObject;
     PlayerObjectStateDataSystem                         = playerObjectStateDataSystem;
     this.WeaponFiringAreaSystem                         = WeaponFiringAreaSystem;
     this.ISetAIAgentDestinationActionCallback           = ISetAIAgentDestinationActionCallback;
     this.IMoveTowardsPlayerStateManagerWorkflowCallback = IMoveTowardsPlayerStateManagerWorkflowCallback;
 }
Пример #3
0
 public MoveTowardsInterestDirectionStateManager(
     CoreInteractiveObject AssociatedInteractiveObject,
     TrackUnknownInterestDirectionSystem TrackUnknownInterestDirectionSystem,
     SoldierAIBehaviorDefinition SoldierAIBehaviorDefinition,
     ISetAIAgentDestinationActionCallback ISetAIAgentDestinationActionCallback, Action OnTrackUnknownStateManagerAskedToExit)
 {
     this.AssociatedInteractiveObject           = AssociatedInteractiveObject;
     this.TrackUnknownInterestDirectionSystem   = TrackUnknownInterestDirectionSystem;
     this.SoldierAIBehaviorDefinition           = SoldierAIBehaviorDefinition;
     this.ISetAIAgentDestinationActionCallback  = ISetAIAgentDestinationActionCallback;
     this.OnTrackUnknownStateManagerAskedToExit = OnTrackUnknownStateManagerAskedToExit;
 }
Пример #4
0
 public MoveAroundPlayerStateManager(TrackAndKillPlayerStateBehavior trackAndKillPlayerStateBehaviorRef,
                                     PlayerObjectStateDataSystem playerObjectStateDataSystem, CoreInteractiveObject associatedInteractiveObject,
                                     WeaponFiringAreaSystem WeaponFiringAreaSystem,
                                     ISetAIAgentDestinationActionCallback ISetAIAgentDestinationActionCallback,
                                     IMoveAroundPlayerStateManagerWorkflowCallback IMoveAroundPlayerStateManagerWorkflowCallback)
 {
     _trackAndKillPlayerStateBehaviorRef                = trackAndKillPlayerStateBehaviorRef;
     PlayerObjectStateDataSystem                        = playerObjectStateDataSystem;
     AssociatedInteractiveObject                        = associatedInteractiveObject;
     this.ISetAIAgentDestinationActionCallback          = ISetAIAgentDestinationActionCallback;
     this.IMoveAroundPlayerStateManagerWorkflowCallback = IMoveAroundPlayerStateManagerWorkflowCallback;
     this.WeaponFiringAreaSystem                        = WeaponFiringAreaSystem;
 }
Пример #5
0
 public ShootingAtPlayerStateManager(TrackAndKillPlayerStateBehavior trackAndKillAIbehaviorRef, PlayerObjectStateDataSystem playerObjectStateDataSystem,
                                     CoreInteractiveObject associatedInteractiveObject, SoldierAIBehaviorDefinition SoldierAIBehaviorDefinition, WeaponFiringAreaSystem WeaponFiringAreaSystem,
                                     ISetAIAgentDestinationActionCallback ISetAIAgentDestinationActionCallback, IFiringProjectileCallback IFiringProjectileCallback,
                                     IShootingAtPlayerWorkflowCallback IShootingAtPlayerWorkflowCallback)
 {
     this.TrackAndKillAIbehaviorRef            = trackAndKillAIbehaviorRef;
     PlayerObjectStateDataSystem               = playerObjectStateDataSystem;
     AssociatedInteractiveObject               = associatedInteractiveObject;
     this.SoldierAIBehaviorDefinition          = SoldierAIBehaviorDefinition;
     this.WeaponFiringAreaSystem               = WeaponFiringAreaSystem;
     this.ISetAIAgentDestinationActionCallback = ISetAIAgentDestinationActionCallback;
     this.IFiringProjectileCallback            = IFiringProjectileCallback;
     this.IShootingAtPlayerWorkflowCallback    = IShootingAtPlayerWorkflowCallback;
 }
Пример #6
0
 public PatrollingStateManager(CoreInteractiveObject AssociatedInteractiveObject, AIPatrolGraphBuilder AIPatrolGraphBuilder,
                               ISetAIAgentDestinationActionCallback ISetAIAgentDestinationActionCallback)
 {
     this.AIPatrolSystem = new AIPatrolSystem(AssociatedInteractiveObject, AIPatrolGraphBuilder, ISetAIAgentDestinationActionCallback.SetAIAgentDestinationAction_NoReturn,
                                              ISetAIAgentDestinationActionCallback.SetAIAgentSpeedAttenuationAction);
 }