RonaldoSetzer/GAME-Minesweeper

View on GitHub
src/minesweeper/game/models/CustomLevelModel.ts

Summary

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

import { Cell } from "./Cell";

@injectable()
export class CustomLevelModel {
    public maxCols: number;
    public maxRows: number;
    public numMines: number;

    public mines: Cell[];

    constructor() {
        this.mines = new Array<Cell>();
    }
}