public void addSystem(Vessel_System sysIn, Room roomIn)
        {
            List <Vessel_System> sysList = (List <Vessel_System>)roomIn.roomProperties["Systems"];

            sysList.Add(sysIn);

            roomIn.roomProperties.Remove("Systems");
            roomIn.roomProperties.Add("Systems", sysIn);
        }
Esempio n. 2
0
        public void newVesselSystem(string typeIn, Vessel_Factory vFactory, Vessel playerVessel, Room roomIn)
        {
            Vessel_System_Type_Setter vTypeStats = new Vessel_System_Type_Setter(typeIn);

            output = new Vessel_System();

            //add vessel system properties here.

            vFactory.addSystem(output, roomIn);
        }