コード例 #1
0
        public Point QueryPoint(QueryPoint point)
        {
            var rp = _pointRepo.Get(point.X, point.Y);

            return(new Point {
                X = rp.X, Y = rp.Y
            });
        }
コード例 #2
0
    IEnumerator Start()
    {
        while (true)
        {
            yield return(new WaitForSeconds(0.05f));

            targetPoint = StegeManager.instance.GetNearPoints(transform);
            agent       = GetComponent <NavMeshAgent> ();
            agent.SetDestination(targetPoint.transform.position);
        }
    }
コード例 #3
0
        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());
        }
コード例 #4
0
 public Point Handle(QueryPoint message)
 {
     return(QueryPoint(message));
 }