using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LD_24.Code
{
///
/// Used for keeping the result of path finding
///
public class BestPizzeriaResult
{
///
/// Pizzeria to which every friend will go
///
public Point Pizzeria { get; private set; }
///
/// Meeting spot for friends
///
public Point MeetingSpot { get; private set; }
///
/// The turn number of steps that will be taken between all friends
///
public int Cost { get; private set; }
public BestPizzeriaResult(Point pizzeria, Point meetingSpot, int cost)
{
Pizzeria = pizzeria;
MeetingSpot = meetingSpot;
Cost = cost;
}
public override string ToString()
{
return String.Format("BestPizzeriaResult{Pizzeria = {0}, MeetingSpot = {1}, Cost = {2}}", Pizzeria, MeetingSpot, Cost);
}
}
}