Exemplo n.º 1
0
 private static Bitmap selectTile(MapTile.Type type)
 {
     switch (type)
     {
         case Type.Plain:
             return Resources.TilePlain;
         default:
             throw new ArgumentException("Unknown Map Type");
     }
 }
Exemplo n.º 2
0
 public City(MapTile[,] cityMap, int width, int height)
 {
     this.Map = cityMap;
     this.Width = width;
     this.Height = height;
 }