mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-20 00:36:00 +00:00
20 lines
594 B
TypeScript
20 lines
594 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;
|
|
}
|
|
}
|