export class Sprite extends Phaser . GameObjects . Sprite { constructor ( scene , x , y , texture , frame ? ) { super ( scene , x , y , texture , frame ) ; scene . sys . updateList . add ( this ) ; scene . sys . displayList . add ( this ) ; } }