public PlanetNode(SystemCreationRules systemCreationRules, bool isMoon, int maxSize, bool effectiveSystemZoneCloserToSun)
 {
     _systemCreationRules = systemCreationRules;
     _isMoon  = isMoon;
     _maxSize = maxSize;
     _effectiveSystemZoneCloserToSun = effectiveSystemZoneCloserToSun;
 }
Example #2
0
 public XenosNode(WorldType worldType, bool isPrimitiveXenos, SystemCreationRules systemCreationRules)
 {
     _systemCreationRules = systemCreationRules;
     _nodeName            = "Xeno Creature";
     WorldType            = worldType;
     IsPrimitiveXenos     = isPrimitiveXenos;
 }
 protected void DistributeSystemCreationRulesToChildren(SystemCreationRules systemCreationRules)
 {
     _systemCreationRules = systemCreationRules;
     foreach (NodeBase node in Children)
     {
         node.DistributeSystemCreationRulesToChildren(systemCreationRules);
     }
 }
        public virtual void ResetVariables()
        {
            _children.Clear();
            _flowDocument                   = new FlowDocument();
            _systemCreationRules            = new SystemCreationRules();
            _travelTimeFromSystemEdgeInDays = 0;
            _description           = "";
            _dirty                 = false;
            _inhabitants           = Species.None;
            _inhabitantDevelopment = new DocContentItem("");

            _resourceIndustrialMetal   = 0;
            _resourceOrnamental        = 0;
            _resourceRadioactive       = 0;
            _resourceExoticMaterial    = 0;
            _resourceArcheotechCache   = 0;
            _resourceXenosRuins        = 0;
            _resourceXenosRuinsSpecies = XenosRuinsSpecies.Undefined;
            OrganicCompounds           = new List <OrganicCompound>();
        }
Example #5
0
 public StarshipGraveyardNode(SystemCreationRules systemCreationRules)
 {
     _nodeName            = "Starship Graveyard";
     _systemCreationRules = systemCreationRules;
 }
 public AsteroidBeltNode(SystemCreationRules systemCreationRules)
 {
     _nodeName            = "Asteroid Belt";
     _systemCreationRules = systemCreationRules;
 }
 public PlanetNode(SystemCreationRules systemCreationRules, bool forceInhabitable)
 {
     _systemCreationRules = systemCreationRules;
     _forceInhabitable    = forceInhabitable;
 }
 public PlanetNode(SystemCreationRules systemCreationRules)
 {
     _systemCreationRules = systemCreationRules;
 }
 public AsteroidNode(SystemCreationRules systemCreationRules)
 {
     _systemCreationRules = systemCreationRules;
     NodeName             = "Large Asteroid";
 }
Example #10
0
 public PrimitiveXenosNode(SystemCreationRules systemCreationRules)
 {
     _nodeName            = "Primitive Xenos";
     _systemCreationRules = systemCreationRules;
 }
 public LesserMoonNode(SystemCreationRules systemCreationRules)
 {
     _systemCreationRules = systemCreationRules;
     NodeName             = "Lesser Moon";
 }
 public GasGiantNode(SystemCreationRules systemCreationRules)
 {
     _systemCreationRules = systemCreationRules;
     _nodeName            = "Gas Giant";
 }
Example #13
0
 public OrbitalFeaturesNode(SystemCreationRules systemCreationRules)
 {
     _nodeName            = "Orbital Features";
     _systemCreationRules = systemCreationRules;
 }
Example #14
0
 public AsteroidClusterNode(SystemCreationRules systemCreationRules)
 {
     NodeName             = "Asteroid Cluster";
     _systemCreationRules = systemCreationRules;
 }
 public NativeSpeciesNode(SystemCreationRules systemCreationRules)
 {
     _nodeName            = "Native Species";
     _systemCreationRules = systemCreationRules;
 }
 public DerelictStationNode(SystemCreationRules systemCreationRules)
 {
     _nodeName            = "Derelict Station";
     _systemCreationRules = systemCreationRules;
 }