public void save() {

		File save = new File("assets/save");
		if (!save.exists()) {
			try {
				save.mkdir();
			} catch (SecurityException e) {
				e.printStackTrace();

			}
		}
		try {
			FileOutputStream fout = new FileOutputStream(new File(
					"assets/save/" + "save1"));
			ObjectOutputStream oos = new ObjectOutputStream(fout);
			oos.writeObject(level);
			oos.close();
			System.out.println("Level saved!");
		} catch (IOException e) {
			e.printStackTrace();
		}
	}