@Override
	public boolean keyUp(int keycode) {
		switch(keycode) {
		case Keys.W:
			direction.y = 0;
			animationTime = 0;
			break;
		case Keys.A:
			direction.x = 0;
			animationTime = 0;
			break;
		case Keys.S:
			direction.y = 0;
			animationTime = 0;
			break;
		case Keys.D:
			direction.x = 0;
			animationTime = 0;
			break;
		}
		return true;
	}