Created
October 2, 2022 18:12
-
-
Save AnteaterKit/a8d0be7fe0765781c372abd0c713403c to your computer and use it in GitHub Desktop.
WhiteBoard
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 class WhiteBoard { | |
public whiteBoardState: WhiteBoardState; | |
toReadOnlyState() { | |
this.setState(new WhiteBoardReadOnlyState()); | |
} | |
toShapeState(shapeType: ShapeTypes) { | |
this.setState(new WhiteBoardShapedState()); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment