public GameTurn removeFirstTurnFor(Entity entity){
  assert (phase != Phase.PHASE_MOVEMENT);
  for (int i=turnIndex; i < turnVector.size(); i++) {
    GameTurn turn=turnVector.elementAt(i);
    if (turn.isValidEntity(entity,this)) {
      turnVector.removeElementAt(i);
      return turn;
    }
  }
  return null;
}

public GameTurn removeFirstTurnFor ( Entity entity ) { assert ( phase != Phase . PHASE_MOVEMENT ) ; for ( int i = turnIndex ; i < turnVector . size ( ) ; i ++ ) { GameTurn turn = turnVector . elementAt ( i ) ; if ( turn . isValidEntity ( entity , this ) ) { turnVector . removeElementAt ( i ) ; return turn ; } } return null ; }
removes the first turn found that the specified entity can move in . used when a turn is played out of order
