public void fireTurnEvent(TrucoPlayer pl,byte type, int value) { TrucoEvent event1 = new TrucoEvent(this, numberOfHand, pl, type, value ); TrucoEvent event2 = new TrucoEvent(this, numberOfHand, pl, type); event1.setTableNumber(getTableNumber()); event2.setTableNumber(getTableNumber());
public void fireTurnEvent(TrucoPlayer pl,byte type) {  TrucoEvent event = new TrucoEvent(this, numberOfHand, pl, type); event.setTableNumber(getTableNumber());
	public void fireTurnEvent(TrucoPlayer pl,byte type, int value)	{ //avisar el Turno con envio del value of envido		TrucoEvent event1 = new TrucoEvent(this, numberOfHand, pl, type, value ); //crear el evento1		TrucoEvent event2 = new TrucoEvent(this, numberOfHand, pl, type); //crear el evento2		event1.setTableNumber(getTableNumber());		event2.setTableNumber(getTableNumber());		for (int i=0; i<listenerlist.size(); i++)		{			if (((TrucoListener)listenerlist.get(i)).getAssociatedPlayer()==pl)				((TrucoListener)(listenerlist.get(i))).turn(event1);			else				((TrucoListener)(listenerlist.get(i))).turn(event2);		}	}