NightKev 877d0c6db8
[Test] Stylistic consistency pass on tests (#3378)
* Modify tests to use overrides helper functions

* Apply stylistic consistency to overrides in tests

Also remove some non-test-related expects()
2024-08-06 10:06:25 -04:00

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;
}
}