private Vector GetRandomEmployeePosition() { var pathNodes = tiledMap.GetPathNodes(); Random random = new Random(); var pathNode = pathNodes[random.Next(0, pathNodes.Count)]; return(new Vector(pathNode.WorldPosition.X, pathNode.WorldPosition.Y)); }
private Vector GetRandomEmployeePosition() { var pathNodes = tiledMap.GetPathNodes(); Random random = new Random(); var pathNode = pathNodes[random.Next(0, pathNodes.Count)]; return(new Vector(pathNode.WorldPosition.X, pathNode.WorldPosition.Y)); }