コード例 #1
0
        public MapSite GetSide(Direction direction)
        {
            MapSite mapSite = null;

            mapSites.TryGetValue(direction, out mapSite);

            return(mapSite);
        }
コード例 #2
0
 public void SetSide(Direction direction, MapSite mapSite)
 {
     mapSites.Add(direction, mapSite);
 }