public PiratePart(EnemyBehaviourFactory behaviourFactory, EnemyBrain brain, IPositionComponent Physical)
 {
     this.behaviourFactory = behaviourFactory;
     this.Brain            = brain;
     this.Physical         = Physical;
     behaviourTree         = CreateBehaviourTree();
     agent = new BehaviourTreeAgent(behaviourTree);
     Brain.LookDistance  = 20;
     Brain.ShootDistance = 5;
     Brain.ShootInterval = 2;
     Brain.GunDamage     = 20;
 }
 public ProximityChaseEnemyPart(EnemyBehaviourFactory behaviourFactory, EnemyBrain brain, IPositionComponent Physical)
 {
     BehaviourFactory    = behaviourFactory;
     behaviourTree       = CreateBehaviourTree();
     agent               = new BehaviourTreeAgent(behaviourTree);
     GunChargedTime      = -1;
     brain.LookDistance  = 20;
     brain.ShootDistance = 5;
     brain.ShootInterval = 2;
     brain.GunDamage     = 20;
     Brain               = brain;
     this.Physical       = Physical;
 }