// What to assign to this class when it's created as a new instance. public ObjectiveInfo() { progress = 0; location = new Vector3(); direction = new Vector3(); type = Objective.ObjectiveTypes.None; completed = false; }
/**************************************************************** * Create an objective. (Vector3, Objective.ObjectiveTypes.Type) * *************************************************************/ public Objective CreateNewObjective(Vector3 location, Objective.ObjectiveTypes type) { Objective objective = new Objective(); objective.setupObjective(location, type); objectives.Add(objective); return(objective); }
public ObjectiveInfo(Objective obj) { objective = obj; progress = 0; location = new Vector3(); direction = new Vector3(); type = Objective.ObjectiveTypes.None; completed = false; uniqueID = -1; objectiveID = new Random().Next(1, 999999); }