![]() |
Custom Asteroids
1.0.0
A mod for Kerbal Space Program that lets users control where asteroids appear
|
Central class for controlling asteroid orbits. More...
Classes | |
class | BadPopulationException |
Exception indicating that a Population is in an invalid state. More... | |
Static Package Functions | |
static void | editAsteroid (Vessel asteroid) |
Customizes an asteroid, based on the settings loaded to Custom Asteroids. More... | |
static Options | getOptions () |
Returns the current options used by Custom Asteroids. More... | |
static double | spawnRate () |
Provides rate at which asteroids should be created. More... | |
Static Private Member Functions | |
static | AsteroidManager () |
Loads all Custom Asteroids settings. More... | |
Static Private Attributes | |
static PopulationLoader | allowedPops |
Singleton object responsible for handling Custom Asteroids configurations. | |
static Options | curOptions |
Singleton object responsible for handling Custom Asteroids options. | |
Central class for controlling asteroid orbits.
|
staticprivate |
Loads all Custom Asteroids settings.
|
staticpackage |
Customizes an asteroid, based on the settings loaded to Custom Asteroids.
[in,out] | asteroid | The asteroid to be modified |
asteroid
is a valid asteroid object in the game asteroid
has never been loaded in physics rangeasteroid
has properties consistent with membership in a randomly chosen populationSystem.InvalidOperationException | Thrown if there are no populations in which to place the asteroid |
AsteroidManager.BadPopulationException | Thrown if a population exists, but cannot generate valid data |
|
staticpackage |
Returns the current options used by Custom Asteroids.
|
staticpackage |
Provides rate at which asteroids should be created.