Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StarSystemRandomGenerator Class Reference

#include <StarSystemGenerator.h>

Inheritance diagram for StarSystemRandomGenerator:
Inheritance graph
[legend]
Collaboration diagram for StarSystemRandomGenerator:
Collaboration graph
[legend]

Public Member Functions

virtual bool Apply (Random &rng, RefCountedPtr< Galaxy > galaxy, RefCountedPtr< StarSystem::GeneratorAPI > system, GalaxyGenerator::StarSystemConfig *config)
 
- Public Member Functions inherited from StarSystemGeneratorStage
virtual ~StarSystemGeneratorStage ()
 
virtual bool Apply (Random &rng, RefCountedPtr< Galaxy > galaxy, RefCountedPtr< StarSystem::GeneratorAPI > system, GalaxyGenerator::StarSystemConfig *config)=0
 
- Public Member Functions inherited from GalaxyGeneratorStage
virtual ~GalaxyGeneratorStage ()
 
virtual void ToJson (Json &jsonObj, RefCountedPtr< Galaxy > galaxy)
 
virtual void FromJson (const Json &jsonObj, RefCountedPtr< Galaxy > galaxy)
 

Additional Inherited Members

- Protected Member Functions inherited from StarSystemLegacyGeneratorBase
void PickAtmosphere (SystemBody *sbody)
 
void PickRings (SystemBody *sbody, bool forceRings=false)
 
fixed CalcHillRadius (SystemBody *sbody) const
 
- Protected Member Functions inherited from GalaxyGeneratorStage
 GalaxyGeneratorStage ()
 
void AssignToGalaxyGenerator (GalaxyGenerator *galaxyGenerator)
 
- Protected Attributes inherited from GalaxyGeneratorStage
GalaxyGeneratorm_galaxyGenerator
 
- Static Protected Attributes inherited from StarSystemLegacyGeneratorBase
static const fixed starMetallicities []
 
static const StarTypeInfo starTypeInfo []
 

Member Function Documentation

◆ Apply()

bool StarSystemRandomGenerator::Apply ( Random rng,
RefCountedPtr< Galaxy galaxy,
RefCountedPtr< StarSystem::GeneratorAPI system,
GalaxyGenerator::StarSystemConfig config 
)
virtual

Implements StarSystemGeneratorStage.

Here is the call graph for this function:

The documentation for this class was generated from the following files: