Galactic Bloodshed
bigbang.h
Go to the documentation of this file.
1 // Copyright 2014 The Galactic Bloodshed Authors. All rights reserved.
2 // Use of this source code is governed by a license that can be
3 // found in the COPYING file.
4 
5 #ifndef BIGBANG_H
6 #define BIGBANG_H
7 
8 #include <memory>
9 #include <utility>
10 #include "gb/creator/namegen.h"
11 
12 using namespace std;
13 
14 class Universe {};
15 
16 /**
17  * Every universe begins with a Big Bang!!!
18  */
19 class BigBang {
20  public:
21  Universe *go();
22  // void place_star(startype *);
23 
24  void setPlanetNameGen(unique_ptr<NameGenerator> namegen);
25  void setStarNameGen(unique_ptr<NameGenerator> namegen);
26 
27  private:
30  int minplanets = -1;
31  int maxplanets = -1;
32  int printplaninfo = 0;
33  int printstarinfo = 0;
34 };
35 
36 #endif // MAKEUNIV_H
void setPlanetNameGen(unique_ptr< NameGenerator > namegen)
void setStarNameGen(unique_ptr< NameGenerator > namegen)
int minplanets
Definition: bigbang.h:30
unique_ptr< NameGenerator > planet_name_gen
Definition: bigbang.h:29
int printplaninfo
Definition: bigbang.h:32
Universe * go()
int maxplanets
Definition: bigbang.h:31
int printstarinfo
Definition: bigbang.h:33
unique_ptr< NameGenerator > star_name_gen
Definition: bigbang.h:28