public void SetMap()
 {
     tileMap = new TileMap(textureList["map"]);
     int[,] map = new int[,] {
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 },
         {   4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4 }
     };
     tileMap.SetMap(map);
 }
 public void SetMap()
 {
     tileMap = new TileMap(textureList["map"]);
     tileMap2 = new TileMap(textureList["map"]);
     int[,] map = new int[,] {
         {  0,  0,  0,  0,  0,  1,  0,  3,  0,  0,  2,  0,  0,  1,  0,  0,  0,  0,  5,  0 },
         {  0,  1,  2,  3,  0,  0,  0,  0,  0,  0,  0,  0,  3,  0,  0,  5,  0,  0,  0,  2 },
         {  0,  0,  4,  5,  0,  3,  0,  5,  2,  0,  4,  0,  0,  0,  2,  0,  4,  0,  0,  0 },
         {  1,  0,  0,  0,  0,  0,  0,  0,  0,  2,  0,  0,  1,  0,  0,  0,  0,  1,  0,  0 },
         {  0,  1,  0,  0,  0,  5,  0,  3,  0,  1,  0,  0,  0,  2,  0,  3,  0,  0,  2,  0 },
         {  8,  9, 10, 11, 12, 13, 10, 11, 12, 13, 10, 11, 12, 13, 10, 11, 12, 13,  6,  7 },
         { 15, 16, 17, 18, 19, 20, 17, 18, 19, 20, 17, 18, 19, 20, 17, 18, 19, 20, 14, 15 },
         { 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15 },
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }
     };
     int[,] map2 = new int[,] {
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 22, 23, 24, 25, -1, -1, -1, 21, 22, 23, 24, 25, -1, -1, -1, 21, 22, 23, 24, 25 },
         { 27, 28, 29, 30, -1, -1, -1, 26, 27, 28, 29, 30, -1, -1, -1, 26, 27, 28, 29, 30 },
         { 32, 33, 34, 35, 36, 37, 38, 31, 32, 33, 34, 35, 36, 37, 38, 31, 32, 33, 34, 35 },
         { 39, 39, 39, 41, 39, 39, 39, 39, 42, 41, 39, 40, 39, 39, 39, 39, 42, 39, 40, 39 },
         { 42, 39, 39, 39, 42, 39, 39, 40, 39, 39, 39, 39, 43, 39, 39, 41, 39, 39, 39, 39 },
         { 39, 39, 43, 39, 41, 39, 39, 39, 39, 41, 39, 39, 41, 39, 39, 39, 40, 44, 41, 39 },
         { 41, 39, 40, 39, 39, 39, 39, 39, 41, 39, 45, 39, 39, 39, 42, 39, 39, 39, 39, 40 },
     };
     tileMap.SetMap(map);
     tileMap2.SetMap(map2);
 }
 public void SetMap()
 {
     tileMap = new TileMap(textureList["map"]);
     int[,] map = new int[,] {
         {  49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49 },
         {  49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49 },
         {  49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49 },
         {  49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49 },
         {  50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 },
         {  50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 },
         {  50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 },
         {  50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 },
         {  50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 },
         {  50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 },
         {  50, 50, 50, 57, 63, 64, 50, 57, 59, 60 ,50, 57, 63, 64, 50, 50, 59, 60, 50, 57 },
         {  55, 52, 56, 58, 65, 66, 53, 58, 61, 62, 53, 58, 65, 66, 56, 54, 61, 62, 53, 58 }
     };
     tileMap.SetMap(map);
 }
 public void SetMap()
 {
     tileMap = new TileMap(textureList["map"], -32);
     doodadMap = new TileMap(textureList["doodads"], -32);
     int[,] map = new int[,] {
         {  39, 39, 39, 39, 39, 39, 39, 40, 39, 40, 39, 39, 39, 40, 39, 39, 39, 39, 39, 39 },
         {  15, 15, 15, 15, 15, 39, 39, 39, 39, 39, 41, 39, 39, 39, 39, 15, 15, 15, 15, 15 },
         {  15, 15, 15, 15, 15, 39, 39, 39, 39, 43, 39, 39, 41, 39, 39, 15, 15, 15, 15, 15 },
         {  15, 15, 15, 15, 15, 39, 39, 42, 39, 39, 41, 39, 39, 39, 39, 15, 15, 15, 15, 15 },
         {  15, 15, 15, 15, 15, 39, 39, 39, 39, 39, 39, 39, 41, 39, 39, 15, 15, 15, 15, 15 },
         {  15, 15, 15, 15, 15, 39, 41, 39, 41, 39, 47, 39, 39, 40, 39, 15, 15, 15, 15, 15 },
         {  39, 39, 39, 39, 39, 39, 39, 42, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39 },
         {  15, 15, 15, 15, 15, 39, 40, 39, 39, 41, 39, 41, 39, 39, 39, 15, 15, 15, 15, 15 },
         {  15, 15, 15, 15, 15, 39, 39, 46, 39, 39, 40, 39, 40, 39, 39, 15, 15, 15, 15, 15 },
         {  15, 15, 15, 15, 15, 39, 39, 39, 39, 42, 39, 39, 45, 39, 39, 15, 15, 15, 15, 15 },
         {  15, 15, 15, 15, 15, 39, 39, 43, 39, 39, 39, 40, 39, 39, 39, 15, 15, 15, 15, 15 },
         {  15, 15, 15, 15, 15, 39, 39, 39, 39, 39, 41, 39, 39, 39, 39, 15, 15, 15, 15, 15 },
         {  39, 39, 39, 39, 39, 39, 40, 43, 39, 40, 39, 39, 40, 41, 39, 39, 39, 39, 39, 39 }
     };
     int[,] ddMap = new int[,] {
         {  21, 21, 21, 21, 21, 22, -1, -1, 16, -1, -1, 16, -1, -1, 18, 21, 21, 21, 21, 21 },
         {  -1, -1, -1, -1, -1, 16, -1, -1, 17, -1, -1, 17, -1, -1, 16, -1, -1, -1, -1, -1 },
         {  -1, -1, -1, -1, -1, 16, -1, -1, -1, -1, -1, -1, -1, -1, 16, -1, -1, -1, -1, -1 },
         {  -1, -1, -1, -1, -1, 17, -1, -1, -1, -1, -1, -1, -1, -1, 17, -1, -1, -1, -1, -1 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         {  -1, -1, -1, -1, -1, 16, -1, -1, -1, -1, -1, -1, -1, -1, 16, -1, -1, -1, -1, -1 },
         {  21, 21, 21, 21, 21, 22, -1, -1, -1, -1, -1, -1, -1, -1, 18, 21, 21, 21, 21, 21 },
         {  -1, -1, -1, -1, -1, 17, -1, -1, -1, -1, -1, -1, -1, -1, 17, -1, -1, -1, -1, -1 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         {  -1, -1, -1, -1, -1, 16, -1, -1, -1, -1, -1, -1, -1, -1, 16, -1, -1, -1, -1, -1 },
         {  -1, -1, -1, -1, -1, 18, 21, 21, 21, 21, 21, 21, 21, 21, 22, -1, -1, -1, -1, -1 },
         {  -1, -1, -1, -1, -1, 16, -1, -1, -1, -1, -1, -1, -1, -1, 16, -1, -1, -1, -1, -1 },
         {  21, 21, 21, 21, 21, 22, -1, -1, -1, -1, -1, -1, -1, -1, 18, 21, 21, 21, 21, 21 },
     };
     tileMap.SetMap(map);
     doodadMap.SetMap(ddMap);
 }
 public void setMap()
 {
     tileMap = new TileMap(textureList["map"]);
     doodadMap = new TileMap(textureList["doodads"]);
     overlayMap = new TileMap(textureList["map"]);
     int[,] map = new int[,] {
         { 39, 39, 42, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 40, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 39, 39, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 39, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 39, 39, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 39, 42, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 39, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 41, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 39, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 39, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 44, 39, 40, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
         { 39, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }
     };
     int[,] ddMap = new int[,] {
         {  -1, 32, 33, 19, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  34, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  -1, -1, 36, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 16 },
         {  38, 39, -1, 19, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 23 },
     };
     int[,] olMap = new int[,] {
         {  -1, -1, -1, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39 },
         {  -1, -1, -1, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39 },
     };
     overlayMap.SetMap(olMap);
     tileMap.SetMap(map);
     doodadMap.SetMap(ddMap);
 }