add ticker to Sprite object

This commit is contained in:
Alexander Popov 2023-12-01 16:45:48 +03:00
parent bdec83fd32
commit 1a3ce1fe97
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6

View File

@ -65,6 +65,7 @@ export class Sprite {
this.angle = 0;
this.src = src;
this.srcOld = this.src;
this.ticker = null;
this.loaded = false;