예제 #1
0
 public void Engage()
 {
     if (PlayerCanSee && !CanSeePlayer)
     {
         CanSeePlayer = true;
         AquisitionBonus.AddAquisitionBonus();
         Program.CurrentLog.WriteToLog(string.Format("Captain, {0} is moving to engage!", UIName));
     }
 }
예제 #2
0
 public Enemy()
 {
     UIName                    = "Dover Class frigate";
     CurrentHealth             = 100;
     MaxHealth                 = 100;
     Profile                   = 50;
     Noise                     = 90;
     Torpedos                  = int.MaxValue;
     Shells                    = int.MaxValue;
     CanSeePlayer              = false;
     PlayerCanSee              = false;
     DistanceToPlayer          = 40000;
     AccousticDetectionAbility = 1.0f;
     AquisitionBonus           = new AquisitionBonus();
     PlayerAquisitionBonus     = new AquisitionBonus();
     Depth                     = Depths.GetDepths[0];
     Armament                  = new List <Weapon>();
 }