aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/MarkController.ts
blob: cfe425f20049075766a2eaa502885fff6012c732 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { injectable } from "tsyringe";
import MarkUseCase from "../usecases/MarkUseCase";

@injectable()
export default class MarkController {
  constructor(private markUseCase: MarkUseCase) {}

  setGlobal(key: string, x: number, y: number): Promise<void> {
    return this.markUseCase.setGlobal(key, x, y);
  }

  jumpGlobal(key: string): Promise<void> {
    return this.markUseCase.jumpGlobal(key);
  }
}