private void drawWindow(int windowId)
        {
            GUILayout.BeginVertical();
            scrollPosition = GUILayout.BeginScrollView(scrollPosition, GUILayout.Width(500), GUILayout.Height(300));

            GUILayout.BeginHorizontal();
            GUILayout.Label("Get universal time : " + Planetarium.GetUniversalTime());
            GUILayout.EndHorizontal();
            GUILayout.BeginHorizontal();
            GUILayout.Label("Time until taxes : " + core.getTimeUntilTaxes());
            GUILayout.EndHorizontal();

            foreach (CivilianVessel vessel in adapter.getVessels())
            {
                if (vessel.getCivilianCount() > 0)
                {
                    GUILayout.BeginHorizontal();
                    GUILayout.Label(vessel.getName() + " : " + vessel.getCivilianCount() + " Civilians");
                    GUILayout.EndHorizontal();
                }
            }

            GUILayout.BeginHorizontal();
            if (GUILayout.Button("Close", GUILayout.Width(200f)))
            {
                windowShown = false;
            }
            GUILayout.EndHorizontal();
            GUILayout.EndScrollView();
            GUILayout.EndVertical();
            GUI.DragWindow();
        }
 public void update()
 {
     if (adapter.isCareer())
     {
         double next = getNextTaxesDate();
         if (nextTaxesDate < next)
         {
             nextTaxesDate = next;
             int numCivilians = 0;
             foreach (CivilianVessel vessel in adapter.getVessels())
             {
                 numCivilians += vessel.getCivilianCount();
             }
             adapter.addFunds(numCivilians * configuration.getRentAmountPerCivilian());
         }
     }
 }