mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 02:57:30 +00:00
* Add fixable rule to report missing Maki methods * Stub out missing methods These were auto-generated with the ESLint rule * Don't lint on too many params, when the params are defined by Maki * Improve objects tests now that all maki methods are stubbed out Now we can assume all methods exist and we can also start a list of unimplemented methods
69 lines
1.1 KiB
JavaScript
69 lines
1.1 KiB
JavaScript
import MakiObject from "./MakiObject";
|
|
import { unimplementedWarning } from "../utils";
|
|
|
|
class Region extends MakiObject {
|
|
/**
|
|
* getclassname()
|
|
*
|
|
* Returns the class name for the object.
|
|
* @ret The class name.
|
|
*/
|
|
getclassname() {
|
|
return "Region";
|
|
}
|
|
|
|
loadfrommap(regionmap, threshold, reversed) {
|
|
unimplementedWarning("loadFromMap");
|
|
}
|
|
|
|
offset(x, y) {
|
|
unimplementedWarning("offset");
|
|
}
|
|
|
|
add(reg) {
|
|
unimplementedWarning("add");
|
|
return;
|
|
}
|
|
|
|
sub(reg) {
|
|
unimplementedWarning("sub");
|
|
return;
|
|
}
|
|
|
|
stretch(r) {
|
|
unimplementedWarning("stretch");
|
|
return;
|
|
}
|
|
|
|
copy(reg) {
|
|
unimplementedWarning("copy");
|
|
return;
|
|
}
|
|
|
|
loadfrombitmap(bitmapid) {
|
|
unimplementedWarning("loadfrombitmap");
|
|
return;
|
|
}
|
|
|
|
getboundingboxx() {
|
|
unimplementedWarning("getboundingboxx");
|
|
return;
|
|
}
|
|
|
|
getboundingboxy() {
|
|
unimplementedWarning("getboundingboxy");
|
|
return;
|
|
}
|
|
|
|
getboundingboxw() {
|
|
unimplementedWarning("getboundingboxw");
|
|
return;
|
|
}
|
|
|
|
getboundingboxh() {
|
|
unimplementedWarning("getboundingboxh");
|
|
return;
|
|
}
|
|
}
|
|
|
|
export default Region;
|