aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/MarkController.ts
blob: 419a08b7050f510e87da0320bc5516c0b4c38dc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import MarkUseCase from '../usecases/MarkUseCase';

export default class MarkController {
  private markUseCase: MarkUseCase;

  constructor() {
    this.markUseCase = new 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);
  }
}