public Person(Resource resource) { this.health = new Health(); this.name = name; this.scfield = new ScienceField(ScienceField.Scfield.Astronaut); this.personality = new Personality(); this.state = State.home; this.resource = resource; this.resource.addPerson(this); this.resource.setupDropDownMenu(); }
public void setVariables(ScienceField scf, string name) { this.scfield = scf; this.name = name; }