mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12:24 +02:00
Removed unused options from base-stats-overlay
This commit is contained in:
parent
921af61fcc
commit
6a55674d0c
@ -29,8 +29,6 @@ export default class BaseStatsOverlay extends Phaser.GameObjects.Container imple
|
||||
|
||||
private statsBg: Phaser.GameObjects.NineSlice;
|
||||
|
||||
private options: BaseStatsOverlaySettings;
|
||||
|
||||
public scale: number;
|
||||
public width: number;
|
||||
|
||||
@ -38,7 +36,6 @@ export default class BaseStatsOverlay extends Phaser.GameObjects.Container imple
|
||||
super(globalScene, options?.x, options?.y);
|
||||
this.scale = options?.scale || 1; // set up the scale
|
||||
this.setScale(this.scale);
|
||||
this.options = options || {};
|
||||
|
||||
// prepare the description box
|
||||
this.width = (options?.width || BaseStatsOverlay.getWidth(this.scale)) / this.scale; // divide by scale as we always want this to be half a window wide
|
||||
|
Loading…
Reference in New Issue
Block a user