if ((e.getModifiers() & e.CTRL_MASK) != 0) {
if ((e.getModifiers() & KeyEvent.CTRL_MASK) != 0) {
	public void keyPressed(KeyEvent e) {		Parcel p;		switch (e.getKeyCode()) {						case KeyEvent.VK_LEFT:							if (mnCursorX > 0) {								mnCursorX--;							}							break;						case KeyEvent.VK_RIGHT:							if (mnCursorX < (mSource.mMap.getParcelMap().getWidth() - 1)) {								mnCursorX++;							}							break;						case KeyEvent.VK_UP:							if (mnCursorY > 0) {								mnCursorY--;							}							break;						case KeyEvent.VK_DOWN:							if (mnCursorY < (mSource.mMap.getParcelMap().getHeight() - 1)) {								mnCursorY++;							}							break;						case KeyEvent.VK_PAGE_UP:							p = mSource.mMap.getParcelMap().getParcel(mnCursorX, mnCursorY);							p.setBaseHeight(p.getBaseHeight() + 1);							break;						case KeyEvent.VK_PAGE_DOWN:							p = mSource.mMap.getParcelMap().getParcel(mnCursorX, mnCursorY);							p.setBaseHeight(p.getBaseHeight() - 1);							break;						case KeyEvent.VK_HOME:							p = mSource.mMap.getParcelMap().getParcel(mnCursorX, mnCursorY);							p.setBaseHeight(0);							break;						case KeyEvent.VK_S:							p = mSource.mMap.getParcelMap().getParcel(mnCursorX, mnCursorY);							Terrain t = p.getTerrain();							p.setTerrain(Terrain.getShapedTerrain(mGame.rm, t.getTileSet(), t.getShape() + 1));							// TODO: Wrap if t.getShape()+1 >= shapeCount							break;						default:							if ((e.getModifiers() & e.CTRL_MASK) != 0) {								if (e.getKeyCode() == KeyEvent.VK_F) {									for (int x = 0; x < mSource.mMap.getParcelMap().getWidth(); x++) {										for (int y = 0; y < mSource.mMap.getParcelMap().getWidth(); y++) {											p = mSource.mMap.getParcelMap().getParcel(x, y);											p.setBaseHeight(0);											p.getTerrain().setShape(0);										}									}								} else if (e.getKeyCode() == KeyEvent.VK_W) {									MapBuilder mb = new MapBuilder(mGame.rm);									try {										mb.writeGameMap("test.map", mSource.mMap);									} catch (IOException err) {										Logger.log("Could not write map");									}									;								}							} else {								p = mSource.mMap.getParcelMap().getParcel(mnCursorX, mnCursorY);								int nShape = (int)e.getKeyChar() - (int)'a';								if ((nShape >= 0) && (nShape <= 24)) {									p.getTerrain().setShape(nShape);								}								int nTileSet = (int)e.getKeyChar() - (int)'0';								p.getTerrain().setTileSet(nTileSet);							}							break;		}		Logger.log(e.getKeyText(e.getKeyCode()));	}