@Override
		public void actionPerformed(ActionEvent e) {
			
			if(pressed && !rightPressed) {
				rightPressed = true;
				player.getEntity(0).setHorVelocity(player.getEntity(0).getHorVelocity()+0.2f);
			}
			
			else if(!pressed) {
				rightPressed = false;
				player.getEntity(0).setHorVelocity(player.getEntity(0).getHorVelocity()-0.2f);
			}
			
		}