예제 #1
0
파일: City.cs 프로젝트: OneOne/trash-2012
 private static Bitmap selectTile(MapTile.Type type)
 {
     switch (type)
     {
         case Type.Plain:
             return Resources.TilePlain;
         default:
             throw new ArgumentException("Unknown Map Type");
     }
 }
예제 #2
0
파일: City.cs 프로젝트: OneOne/trash-2012
 public City(MapTile[,] cityMap, int width, int height)
 {
     this.Map = cityMap;
     this.Width = width;
     this.Height = height;
 }