mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-10 03:48:27 +00:00
* Modify tests to use overrides helper functions * Apply stylistic consistency to overrides in tests Also remove some non-test-related expects()
21 lines
589 B
TypeScript
21 lines
589 B
TypeScript
import MockContainer from "#test/utils/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;
|
|
}
|
|
}
|