RealFuels.Tanks.ModuleFuelTanks.GetEnginePropellants C# (CSharp) Method

GetEnginePropellants() private method

private GetEnginePropellants ( PartModule engine ) : List
engine PartModule
return List
        List<Propellant> GetEnginePropellants(PartModule engine)
        {
            if (engine is ModuleEngines)
                return (engine as ModuleEngines).propellants;
            else if (engine is ModuleRCS)
                return (engine as ModuleRCS).propellants;
            return null;
        }