public WorldModel(WorldModel parent) { this.GoalValuesArray = parent.GetAllGoalValues(); this.GoalsArray = parent.GoalsArray; this.PropertiesArray = parent.GetAllProperties(); this.Resources = (bool[])parent.Resources.Clone(); this.Actions = parent.Actions; this.ActionEnumerator = this.Actions.GetEnumerator(); }