Last active
October 2, 2022 18:10
-
-
Save AnteaterKit/588444b6f0ed11e9743e85dfeee80b69 to your computer and use it in GitHub Desktop.
WhiteBoardState
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
export abstract class WhiteBoardState { | |
protected whiteBoard: WhiteBoard; | |
setWhiteBoard(whiteBoard: WhiteBoard) { | |
this.whiteBoard = whiteBoard; | |
} | |
public abstract getTool(): SelectedTool; | |
public abstract handleClick(e): void; | |
public abstract handleDragend(e): void; | |
public abstract handleMousedown(e): void; | |
public abstract handleMouseup(e): void; | |
public abstract handleMousemove(e): void; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment