Skip to content

Instantly share code, notes, and snippets.

@daleth90
Created March 25, 2018 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daleth90/cae013ecb64d27743b51a7a9c2e3e2bd to your computer and use it in GitHub Desktop.
Save daleth90/cae013ecb64d27743b51a7a9c2e3e2bd to your computer and use it in GitHub Desktop.
public class OthelloBoardPresenter {
public OthelloBoardPresenter( IOthelloBoardModel model, IOthelloBoardView view ) {
view.OnClickTile += model.TryPlaceDisk;
model.OnPlaceDisk += view.PlaceDisk;
model.OnFlipDisk += view.FlipDisk;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment