public class RegisteredPropellant extends Object
| Constructor and Description |
|---|
RegisteredPropellant() |
| Modifier and Type | Method and Description |
|---|---|
static SolidPropellant |
getSolidPropellant(int propellantId)
Return the propellant
|
static Integer |
registerPropellant(SolidPropellant solidPropellant)
Use to register custom propellant, if the propellant is already registered the function return it's ID
|
public static Integer registerPropellant(SolidPropellant solidPropellant)
solidPropellant - the propellant you want to register for usage in calculationpublic static SolidPropellant getSolidPropellant(int propellantId)
propellantId - the id of the propellantUnregisteredPropellantException - if the propellant is not registeredCopyright © 2019. All rights reserved.