RonaldoSetzer/GAME-Minesweeper

View on GitHub
src/minesweeper/mediators/GameViewMediator.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { injectable } from "@robotlegsjs/core";
import { Mediator } from "@robotlegsjs/pixi";

import { GameView } from "./../views/GameView";

@injectable()
export class GameViewMediator extends Mediator<GameView> {
    public initialize(): void {
        this.view.createComponents();
    }
    public destroy(): void {
        this.view.destroy();
    }
}