mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-13 02:49:26 +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>
25 lines
620 B
TypeScript
25 lines
620 B
TypeScript
import { MockText } from "#test/test-utils/mocks/mocks-container/mock-text";
|
|
|
|
export class MockInputText extends MockText {
|
|
public inputType: string;
|
|
public selectionStart: number;
|
|
public selectionEnd: number;
|
|
public selectedText: string;
|
|
|
|
constructor(textureManager, x, y, _w, _h, content, styleOptions) {
|
|
super(textureManager, x, y, content, styleOptions);
|
|
}
|
|
|
|
selectText(_selectionStart?: number, _selectionEnd?: number) {}
|
|
|
|
selectAll() {}
|
|
|
|
setCursorPosition(_value: number) {}
|
|
|
|
scrollToBottom() {}
|
|
|
|
resize(_width: number, _height: number) {}
|
|
|
|
setElement(_element, _style, _innerText) {}
|
|
}
|