mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-09 11:31:49 +00:00
* move test folder * Update vitest files * rename test/utils to test/testUtils * Remove stray utils/gameManager Got put back from a rebase
21 lines
593 B
TypeScript
21 lines
593 B
TypeScript
import MockContainer from "#test/testUtils/mocks/mocksContainer/mockContainer";
|
|
|
|
|
|
export default class MockNineslice extends MockContainer {
|
|
private texture;
|
|
private leftWidth;
|
|
private rightWidth;
|
|
private topHeight;
|
|
private bottomHeight;
|
|
|
|
constructor(textureManager, x, y, texture, frame, width, height, leftWidth, rightWidth, topHeight, bottomHeight) {
|
|
super(textureManager, x, y);
|
|
this.texture = texture;
|
|
this.frame = frame;
|
|
this.leftWidth = leftWidth;
|
|
this.rightWidth = rightWidth;
|
|
this.topHeight = topHeight;
|
|
this.bottomHeight = bottomHeight;
|
|
}
|
|
}
|