@Override
	public void keyDown(Integer code) {
		final int speed = 8;
		switch (code){
		case KeyEvent.VK_A:
		case KeyEvent.VK_LEFT:
			getMotion().changeX(-speed);
			break;
		case KeyEvent.VK_D:
		case KeyEvent.VK_RIGHT:
			getMotion().changeX(speed);
			break;
		case KeyEvent.VK_W:
		case KeyEvent.VK_UP:
			getMotion().changeY(-speed);
			break;
		case KeyEvent.VK_S:
		case KeyEvent.VK_DOWN:
			getMotion().changeY(speed);
			break;
		}
	}