Module AM37

Interface MoveActionListener

All Known Implementing Classes:
ServerController

public interface MoveActionListener
Listens for a legal move action to happen
  • Method Summary

    Modifier and Type Method Description
    void onMoveAction​(java.util.List<Cell> gameBoard)
    Notifies that a successful move action happened
  • Method Details

    • onMoveAction

      void onMoveAction​(java.util.List<Cell> gameBoard)
      Notifies that a successful move action happened
      Parameters:
      gameBoard - the changed gameBoard as a list of cells