Example #1
0
        private void Handle(torp_info_spacket msg)
        {
            Torpedo torp = galaxy.GetTorpedo(msg.tnum);

            torp.War    = msg.war;
            torp.Status = (TorpStatus)msg.status;
            torp.Team   = NetrekTeam.Independent; // TEMP HACK
            if (msg.Status != TorpStatus.Free)
            {
                lTorp.Trace(msg.ToString());
            }
            torp.TryCreateEntity();
        }
 private void Handle(torp_info_spacket msg)
 {
     Torpedo torp = galaxy.GetTorpedo(msg.tnum);
     torp.War = msg.war;
     torp.Status = (TorpStatus)msg.status;
     torp.Team = NetrekTeam.Independent; // TEMP HACK
     if (msg.Status != TorpStatus.Free)
     {
         lTorp.Trace(msg.ToString());
     }
     torp.TryCreateEntity();
 }