Fix mock sprite's setPositionRelative

This commit is contained in:
Sirz Benjie 2025-05-27 16:48:02 -05:00
parent ca524ab3fc
commit 57975da7ec
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -142,7 +142,8 @@ export default class MockSprite implements MockGameObject {
setPositionRelative(source, x, y): this {
/// Sets the position of this Game Object to be a relative position from the source Game Object.
return this.phaserSprite.setPositionRelative(source, x, y);
this.phaserSprite.setPositionRelative(source, x, y);
return this;
}
setY(y: number): this {