@Override
	public void mousePressed(MouseEvent m) {
		Wall newWall;
		if(m.getButton() == 1){//front click
			newWall = new Wall(new Point2D.Double(m.getX(), m.getY()), Wall.Orientation.HORIZONTAL);
		}
		else{
			newWall = new Wall(new Point2D.Double(m.getX(), m.getY()), Wall.Orientation.VERTICAL);
		}
		for(Wall wall : gameField.getWalls()){
			if(!wall.willFit(newWall))
				return;
		}
		if(!gameField.willFit(newWall))
			return;
		gameField.getWalls().add(newWall);
	}