public void run() 
	{

		
		boolean entered = elevator.try_enter(this,on_floor,goal_floor); // sprawdza czy pasazer nadal ptorzeubje wejsc do windy
		if(waiting && entered)
		{
			System.out.println( this.get_enter_info() );
			this.waiting = false;
			elevator.go_on(goal_floor);
			elevator.remove_passenger(this);
			System.out.println( this.get_leave_info() );
			elevator.leave();
		}
	}