Module AM37

Interface EndTurnListener

All Known Implementing Classes:
ServerController

public interface EndTurnListener
Listens for the end of a turn to happen
  • Method Summary

    Modifier and Type Method Description
    void onTurnEnd​(java.lang.String name, java.util.List<Cell> workersCells)
    Notifies that the current turn has ended
  • Method Details

    • onTurnEnd

      void onTurnEnd​(java.lang.String name, java.util.List<Cell> workersCells)
      Notifies that the current turn has ended
      Parameters:
      name - the next player's username