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

#include <SectorGenerator.h>

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

Public Member Functions

 SectorPersistenceGenerator (GalaxyGenerator::Version version)
 
virtual bool Apply (Random &rng, RefCountedPtr< Galaxy > galaxy, RefCountedPtr< Sector > sector, GalaxyGenerator::SectorConfig *config)
 
virtual void FromJson (const Json &jsonObj, RefCountedPtr< Galaxy > galaxy)
 
virtual void ToJson (Json &jsonObj, RefCountedPtr< Galaxy > galaxy)
 
- Public Member Functions inherited from SectorGeneratorStage
virtual ~SectorGeneratorStage ()
 
virtual bool Apply (Random &rng, RefCountedPtr< Galaxy > galaxy, RefCountedPtr< Sector > sector, GalaxyGenerator::SectorConfig *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 GalaxyGeneratorStage
 GalaxyGeneratorStage ()
 
void AssignToGalaxyGenerator (GalaxyGenerator *galaxyGenerator)
 
- Protected Attributes inherited from GalaxyGeneratorStage
GalaxyGeneratorm_galaxyGenerator
 

Constructor & Destructor Documentation

◆ SectorPersistenceGenerator()

SectorPersistenceGenerator::SectorPersistenceGenerator ( GalaxyGenerator::Version  version)
inline

Member Function Documentation

◆ Apply()

bool SectorPersistenceGenerator::Apply ( Random rng,
RefCountedPtr< Galaxy galaxy,
RefCountedPtr< Sector sector,
GalaxyGenerator::SectorConfig config 
)
virtual

Implements SectorGeneratorStage.

Here is the call graph for this function:

◆ FromJson()

void SectorPersistenceGenerator::FromJson ( const Json jsonObj,
RefCountedPtr< Galaxy galaxy 
)
virtual

Reimplemented from GalaxyGeneratorStage.

Here is the call graph for this function:

◆ ToJson()

void SectorPersistenceGenerator::ToJson ( Json jsonObj,
RefCountedPtr< Galaxy galaxy 
)
virtual

Reimplemented from GalaxyGeneratorStage.

Here is the call graph for this function:

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