mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 23:32:19 +02:00
Remove unused shown variable
This commit is contained in:
parent
165c5fa7bc
commit
210df1ceb9
@ -10,8 +10,6 @@ export default class AbilityBar extends Phaser.GameObjects.Container {
|
||||
private bg: Phaser.GameObjects.Image;
|
||||
private abilityBarText: Phaser.GameObjects.Text;
|
||||
|
||||
public shown: boolean;
|
||||
|
||||
constructor() {
|
||||
super(globalScene, hiddenX, baseY);
|
||||
}
|
||||
@ -30,12 +28,6 @@ export default class AbilityBar extends Phaser.GameObjects.Container {
|
||||
this.setVisible(false);
|
||||
}
|
||||
|
||||
override setVisible(shown: boolean): this {
|
||||
this.shown = shown;
|
||||
super.setVisible(shown);
|
||||
return this;
|
||||
}
|
||||
|
||||
startTween(config: any, text?: string): Promise<void> {
|
||||
this.setVisible(true);
|
||||
if (text) {
|
||||
|
Loading…
Reference in New Issue
Block a user