public void setLevel(technologyLevel theLevel, string other = "") //Set the technology level { theLevel = myLevel; if (myLevel == technologyLevel.Other) { otherLevel = other; } }
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; } }