webamp/modern/src/runtime/Map.js
jberg 59689fa827 Add some unimplemented methods to classes (#872)
* Add some unimplemented methods to classes

* fix test
2019-08-19 10:25:27 -07:00

30 lines
503 B
JavaScript

import MakiObject from "./MakiObject";
import { unimplementedWarning } from "../utils";
class Map extends MakiObject {
/**
* getclassname()
*
* Returns the class name for the object.
* @ret The class name.
*/
getclassname() {
return "Map";
}
loadmap(bitmapid) {
unimplementedWarning("loadmap");
}
getwidth() {
unimplementedWarning("getwidth");
return 10;
}
getheight() {
unimplementedWarning("getheight");
return 10;
}
}
export default Map;