aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/MarkController.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/controllers/MarkController.js')
-rw-r--r--src/background/controllers/MarkController.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/background/controllers/MarkController.js b/src/background/controllers/MarkController.js
new file mode 100644
index 0000000..0478369
--- /dev/null
+++ b/src/background/controllers/MarkController.js
@@ -0,0 +1,15 @@
+import MarkUseCase from '../usecases/MarkUseCase';
+
+export default class MarkController {
+ constructor() {
+ this.markUseCase = new MarkUseCase();
+ }
+
+ setGlobal(key, x, y) {
+ this.markUseCase.setGlobal(key, x, y);
+ }
+
+ jumpGlobal(key) {
+ this.markUseCase.jumpGlobal(key);
+ }
+}