Last active
March 17, 2017 17:40
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defprotocol IUserInteractions | |
"A protocol for the interactions that can be triggered from the GUI" | |
(on-new-game [this] "Send a new game command") | |
(on-toogle-help [this] "Send a toggle help command") | |
(on-restart [this] "Send a restart command") | |
(on-undo [this] "Send an undo command") | |
(on-player-move [this x y] "Send a play command at [x y]")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment