mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Added TODO
This commit is contained in:
parent
8069f9ad91
commit
b270af32ac
@ -2,6 +2,9 @@ import { globalScene } from "#app/global-scene";
|
|||||||
import { fixedInt } from "#app/utils/common";
|
import { fixedInt } from "#app/utils/common";
|
||||||
import { addTextObject, type TextStyle } from "./text";
|
import { addTextObject, type TextStyle } from "./text";
|
||||||
|
|
||||||
|
/*
|
||||||
|
*/
|
||||||
|
|
||||||
export default class ScrollingText extends Phaser.GameObjects.Container {
|
export default class ScrollingText extends Phaser.GameObjects.Container {
|
||||||
public text: Phaser.GameObjects.Text;
|
public text: Phaser.GameObjects.Text;
|
||||||
private descScroll: Phaser.Tweens.Tween | null = null;
|
private descScroll: Phaser.Tweens.Tween | null = null;
|
||||||
@ -31,6 +34,7 @@ export default class ScrollingText extends Phaser.GameObjects.Container {
|
|||||||
this.add(this.text);
|
this.add(this.text);
|
||||||
|
|
||||||
const maskGraphics = scene.make.graphics({ x: 0, y: 0 });
|
const maskGraphics = scene.make.graphics({ x: 0, y: 0 });
|
||||||
|
//TODO: Remove, this line is for testing
|
||||||
maskGraphics.fillStyle(0xffffff);
|
maskGraphics.fillStyle(0xffffff);
|
||||||
maskGraphics.fillRect(globalMaskX, globalMaskY, visibleWidth, visibleHeight);
|
maskGraphics.fillRect(globalMaskX, globalMaskY, visibleWidth, visibleHeight);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user