@Override
	public void keyPressed(int keyCode, char keyName) {		
		if(keyCode == 200) {
			if(!player.isMoving) {
				player.isMoving = true;
				player.movePlayer(Direction.UP);
			}
		}
		if(keyCode == 203) {
			if(!player.isMoving) {
				player.isMoving = true;
				player.movePlayer(Direction.LEFT);
			}
		}
		if(keyCode == 205) {
			if(!player.isMoving) {
				player.isMoving = true;
				player.movePlayer(Direction.RIGHT);
			}
		}
		if(keyCode == 208) {
			if(!player.isMoving) {
				player.isMoving = true;
				player.movePlayer(Direction.DOWN);
			}
		}
	}