mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Fix mock sprite's setPositionRelative
This commit is contained in:
parent
ca524ab3fc
commit
57975da7ec
@ -142,7 +142,8 @@ export default class MockSprite implements MockGameObject {
|
|||||||
|
|
||||||
setPositionRelative(source, x, y): this {
|
setPositionRelative(source, x, y): this {
|
||||||
/// Sets the position of this Game Object to be a relative position from the source Game Object.
|
/// 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 {
|
setY(y: number): this {
|
||||||
|
Loading…
Reference in New Issue
Block a user