qw
<<<<<<< HEAD:src/com/example/slade_of_the_contury/MyView.java
			Coordinate coord = ma.engine.getCurrentCoordinate();
			int coordx = coord.getX();
			int coordy = coord.getY();
			switch (button) {
			case DOWN:
				coordx++;
				break;
			case LEFT:
				coordy--;
				break;
			case RIGHT:
				coordy++;
				break;
			case UP:
				coordx--;
				break;
			}
			Coordinate newcoord = new Coordinate(coord.getZ(), coordx, coordy);
			if (!newcoord.equals(coord)) {
				try {
					event = (StandardEvent)ma.engine.moveTo(newcoord);
				} catch (Exception e) {

				}
				eventHandler();
=======