mirror of
https://github.com/Kugelschieber/breach.git
synced 2026-01-18 03:50:24 +00:00
Added return type to getCell()
This commit is contained in:
@@ -106,7 +106,7 @@ export class Game {
|
|||||||
return this.timeout - (Date.now() - this.startTimeTimeStamp)
|
return this.timeout - (Date.now() - this.startTimeTimeStamp)
|
||||||
}
|
}
|
||||||
|
|
||||||
getCell(row: number, column: number) {
|
getCell(row: number, column: number): string {
|
||||||
return this.matrix[row + column * this.size]
|
return this.matrix[row + column * this.size]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user