import JassAgent from './agent' ; /**
 * type rect
 */ export default class JassRect extends JassAgent { center : Float32Array ; min : Float32Array ; max : Float32Array ; constructor ( minx , miny , maxx , maxy ) { super ( ) ; this . center = new Float32Array ( [ maxx - minx , maxy - miny ] ) ; this . min = new Float32Array ( [ minx , miny ] ) ; this . max = new Float32Array ( [ maxx , maxy ] ) ; } }