internal void Update()
        {
            TotalLevel = r_Fleet.Ships.Sum(r => r.Level);

            FighterPower.Update();

            LoS.Update();

            UpdateFleetSpeed();

            CalculateTransportPoint();
        }
Beispiel #2
0
 public void CheckForWitnesses(Vector3 crimeLocation)
 {
     foreach (GameObject guest in guests)
     {
         if (guest == null)
         {
             continue;
         }
         if (LoS.IsInLoS(crimeLocation, guest, 15f, 0.6f))
         {
             Debug.Log(guest.name + " witnessed a murder!");
             guest.SendMessage("SetWitness");
         }
     }
 }