Galactic Bloodshed
Public Member Functions | Private Attributes | List of all members
BigBang Class Reference

#include <bigbang.h>

Collaboration diagram for BigBang:

Public Member Functions

Universego ()
 
void setPlanetNameGen (unique_ptr< NameGenerator > namegen)
 
void setStarNameGen (unique_ptr< NameGenerator > namegen)
 

Private Attributes

unique_ptr< NameGeneratorstar_name_gen
 
unique_ptr< NameGeneratorplanet_name_gen
 
int minplanets = -1
 
int maxplanets = -1
 
int printplaninfo = 0
 
int printstarinfo = 0
 

Detailed Description

Every universe begins with a Big Bang!!!

Definition at line 19 of file bigbang.h.

Member Function Documentation

◆ go()

Universe* BigBang::go ( )

◆ setPlanetNameGen()

void BigBang::setPlanetNameGen ( unique_ptr< NameGenerator namegen)

◆ setStarNameGen()

void BigBang::setStarNameGen ( unique_ptr< NameGenerator namegen)

Member Data Documentation

◆ maxplanets

int BigBang::maxplanets = -1
private

Definition at line 31 of file bigbang.h.

◆ minplanets

int BigBang::minplanets = -1
private

Definition at line 30 of file bigbang.h.

◆ planet_name_gen

unique_ptr<NameGenerator> BigBang::planet_name_gen
private

Definition at line 29 of file bigbang.h.

◆ printplaninfo

int BigBang::printplaninfo = 0
private

Definition at line 32 of file bigbang.h.

◆ printstarinfo

int BigBang::printstarinfo = 0
private

Definition at line 33 of file bigbang.h.

◆ star_name_gen

unique_ptr<NameGenerator> BigBang::star_name_gen
private

Definition at line 28 of file bigbang.h.


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