public void move(int keycode){
		if(dead){
			movement.setX(0);
			this.animation = death;
			return;
		}
		if (keycode == KeyEvent.VK_LEFT || keycode == KeyEvent.VK_A){
			movement.setX(-STEP_SIZE);
			this.animation = type.getAnimationLeft();
			this.prevAnimation = animation;
		}
		else if (keycode == KeyEvent.VK_RIGHT || keycode == KeyEvent.VK_D){
			movement.setX(STEP_SIZE);
			this.animation = type.getAnimationRight();
			this.prevAnimation = animation;
		}
	}