Making 2 properties readonly
This commit is contained in:
parent
50a4481704
commit
2ff7bf54ae
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user