Пример #1
0
 public void setLevel(technologyLevel theLevel, string other = "")   //Set the technology level
 {
     theLevel = myLevel;
     if (myLevel == technologyLevel.Other)
     {
         otherLevel = other;
     }
 }
Пример #2
0
 public Planet(int pop, biome land, technologyLevel developement, string name, string desc, string hist, string imageFile, string other = "") : base(name, desc, hist, imageFile)
 {
     population = pop;
     myLevel    = developement;
     myLand     = land;
     if (myLevel == technologyLevel.Other)
     {
         otherLevel = other;
     }
 }