public void genMap()
			{
				for (int i=0;i<map.length; i++)
				{
					for (int j=0;j<map[0].length;j++)
					{
						map[i][j] = CE_VOID;
					}
				}
				if (selected instanceof Piece)
				{
					for (int i=0;i<map.length; i++)
					{
						for (int j=0;j<map[0].length;j++)
						{
							int [] coord = {i,j};
							if(selected.allowCoord(coord))
							{
								map[i][j] = CE_POSS;
							}
						}
					}
				}
				map[(DEF_FINAL[0])%(map.length)][(DEF_FINAL[1])%(map[0].length)]=CE_FINAL;
				if (piece instanceof Piece [])
				{
					for (int i=0;i<piece.length;i++)
					{
						if (piece[i] instanceof Piece)
						{
							map[(piece[i].getCoord()[0])%(map.length)][(piece[i].getCoord()[1])%(map[0].length)]= CE_FULL;
						}
					}
				}
				else
				{
					map[((map[0].length-1)+(DEF_DEPART[0]))%(map.length)][((map[0].length-1)+DEF_DEPART[1])%(map[0].length)]= CE_FULL;
				}
				
			}