mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
19 lines
359 B
JavaScript
19 lines
359 B
JavaScript
class SelectionTool extends Tool {
|
|
switchFunc = undefined;
|
|
moveTool = undefined;
|
|
|
|
constructor(name, options, switchFunc, moveTool) {
|
|
super(name, options);
|
|
|
|
this.moveTool = moveTool;
|
|
this.switchFunc = switchFunc;
|
|
}
|
|
|
|
cutSelection() {}
|
|
|
|
pasteSelection(){}
|
|
|
|
copySelection(){}
|
|
|
|
cursorInSelectedArea(){}
|
|
} |