public int setType(typeOfThreat _type) { type = _type; return((int)type); }
public Threats(Graph graph) { nrOfNodes = graph.nrOfNodes; positionsOfThreats = new bool[nrOfNodes]; type = typeOfThreat.None; }