Created
December 23, 2015 09:25
-
-
Save robinkanters/298be43269d324622436 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class AbstractTool is | |
function moveTo(point) is | |
input: the location point the mouse moved to | |
(this function must be implemented by subclasses) | |
function mouseDown(point) is | |
input: the location point the mouse is at | |
(this function must be implemented by subclasses) | |
function mouseUp(point) is | |
input: the location point the mouse is at | |
(this function must be implemented by subclasses) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment