Making 2 properties readonly

This commit is contained in:
David Négrier 2022-04-04 13:41:08 +02:00
parent 50a4481704
commit 2ff7bf54ae

View File

@ -45,8 +45,8 @@ export class PositionNotifier {
private zones: Zone[][] = []; private zones: Zone[][] = [];
constructor( constructor(
private zoneWidth: number, private readonly zoneWidth: number,
private zoneHeight: number, private readonly zoneHeight: number,
private onUserEnters: EntersCallback, private onUserEnters: EntersCallback,
private onUserMoves: MovesCallback, private onUserMoves: MovesCallback,
private onUserLeaves: LeavesCallback, private onUserLeaves: LeavesCallback,