Added ResizableTool and SelectionTool

This commit is contained in:
unsettledgames
2021-11-01 13:02:18 +01:00
parent 2d8974f9d6
commit a56d7092fc
14 changed files with 138 additions and 582 deletions

View File

@@ -2,4 +2,24 @@ class MoveSelectionTool extends Tool {
constructor (name, options, switchFunc) {
super(name, options, switchFunc);
}
onStart(mousePos) {
super.onStart(mousePos);
}
onDrag(mousePos) {
super.onDrag(mousePos);
}
onEnd(mousePos) {
super.onEnd(mousePos);
}
onSelect() {
super.onSelect(mousePos);
}
onDeselect() {
super.onDeselect(mousePos);
}
}