Пример #1
0
 public OpStrategy(Mover mover, HandController handController, Health health,
                   NpcSensorSight npcSensorSight, NpcSensorSound npcSensorSound) : base(mover, handController,
                                                                                        health, npcSensorSight, npcSensorSound)
 {
     HealthRetreatTolerance    = 400;
     retreatingMovementRoutine = new RetreatWhileDodgingMovementRoutine(Mover);
     engagingMovementRoutine   = new AdvanceWhileDodgingMovementRoutine(Mover);
     noEnemySightRoutine       = new LookAroundSightRoutine(Mover);
 }
 public CamperBehavior(Mover mover, HandController handController, Health health,
                       NpcSensorSight npcSensorSight, NpcSensorSound npcSensorSound) : base(mover, handController,
                                                                                            health, npcSensorSight, npcSensorSound)
 {
     HealthRetreatTolerance    = 600;
     retreatingMovementRoutine = new RetreatWhileDodgingMovementRoutine(Mover);
     noEnemySightRoutine       = new LookAroundSightRoutine(Mover);
     isCamping = false;
 }