public Point QueryPoint(QueryPoint point) { var rp = _pointRepo.Get(point.X, point.Y); return(new Point { X = rp.X, Y = rp.Y }); }
IEnumerator Start() { while (true) { yield return(new WaitForSeconds(0.05f)); targetPoint = StegeManager.instance.GetNearPoints(transform); agent = GetComponent <NavMeshAgent> (); agent.SetDestination(targetPoint.transform.position); } }
public List <QueryPoint> GetDetailReportRow(List <Person> allPersons, List <Query> allQueries) { List <QueryPoint> queryPointList = new List <QueryPoint>(); foreach (var query in allQueries) { var queryPoint = new QueryPoint(); queryPoint.Query = query; queryPoint.AveragePointByQuery = GetAveragePointByQuery(query, allPersons); queryPoint.PersonPointList = GetPersonPointList(query, allPersons); queryPointList.Add(queryPoint); } return(queryPointList.OrderBy(e => e.Query.Id).ToList()); }
public Point Handle(QueryPoint message) { return(QueryPoint(message)); }