2019-07-13 11:59:12 +09:00

15 lines
261 B
JavaScript

function Library (ronin) {
this.clear = (rect = this.select_all()) => {
}
this.select = (x, y, w, h) => {
const rect = { x, y, w, h }
ronin.surface.addGuide(rect)
return rect
}
this.select_all = () => {
ronin.surface.getRect()
}
}