mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-11 09:59:28 +02:00
* Standardize filenames to kebab-case Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com> * Move script outside of public folder * Move update_exp_sprites to scripts * Add ls-lint to lint file and directory names * Update lefthook.yml to skip merge / rebase on all pre-commit commands --------- Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com>
20 lines
593 B
TypeScript
20 lines
593 B
TypeScript
import { MockContainer } from "#test/test-utils/mocks/mocks-container/mock-container";
|
|
|
|
export 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;
|
|
}
|
|
}
|