public void draw(){

		//draw_grid();
		for(Enemy e:Graphics.en){
			Graphics.pen.drawImage(e.getMyImage(), e.getX()*40, e.getY()*40, 40, 40,0);
		}
		Graphics.pen.setColor(new Color(255,255,255));

		
		int x=-1;
		for (Square[] q2: Graphics.square_array){
			x++;
			int y=-1;
			for (Square q: q2){
				y++;
				if ((q !=null)&&(q.getMyImage()!=null)){
					
					
					if (q.drawBackground()){
						Graphics.pen.drawImage("stone_tile.png", q.getX(), q.getY(), 40, 40, 0);
					}


					Graphics.pen.drawImage(q.getMyImage(), q.getX(), q.getY(), 40, 40, 0);
					

				}
				else{
					Graphics.pen.drawImage("stone_tile.png", x*40, y*40, 40, 40, 0);
				}

			}

		}
		Graphics.pen.drawImage(Graphics.p.getMyImage(), Graphics.p.getX(), Graphics.p.getY(), 40, 40, 0);
	}