示例#1
0
 public DockInfo(ShipInventory shipInventory, MaterialInfo material)
 {
     _shipInventory = shipInventory;
     _materialInfo  = material;
     for (var i = 0; i < _ndockTimers.Length; i++)
     {
         _ndockTimers[i] = new AlarmTimer();
     }
     for (var i = 0; i < _kdockTimers.Length; i++)
     {
         _kdockTimers[i] = new AlarmTimer(0);
     }
 }
示例#2
0
 public NameAndTimer()
 {
     Timer = new AlarmTimer();
 }