public bool PositionHasScent(Coordinates position) { return(Scents.ContainsKey(position.X) && Scents[position.X].Contains(position.Y)); }
public Surface(Coordinates upperRight) { UpperRight = upperRight; LowerLeft = new Coordinates(0, 0); Scents = new Dictionary <int, HashSet <int> >(); }