aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/MarkController.ts
blob: 0d468f26dc7422cf2dd3b2681175832dda04a2f8 (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<any> {
    return this.markUseCase.setGlobal(key, x, y);
  }

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