@Override
	public void keyTyped(KeyEvent arg0) {
		switch (arg0.getKeyChar()) {
		case 'n':
			// next pressed
			System.out.println("Playing next move");
			this.playNextMove();
			break;
		case '+':
			System.out.println("Zooming in");
			this.zoomIn();
			this.refreshDisplay();;
			break;
		case '-':
			System.out.println("Zooming out");
			this.zoomOut();
			this.loadPicture(this.imagePath);
			break;
		case 'r':
			System.out.println("refreshing display...");
			this.refreshDisplay();
			break;
		case 's':
			System.out.println("Live agents' scores:");
			for (A a : this.getSimulation().getAgents()){
				System.out.println(a.toString());
			}
			System.out.println("Finished agents' scores:");
			for (A a : this.getSimulation().getFinishedAgents()){
				System.out.println(a.toString());
			}

		}
	}