You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
478 B

"use strict";
class Anime extends Sprite {
constructor(element) {
super(element);
this.xmin_ = 0;
this.xmax_ = 0;
this.ymin_ = 0;
this.ymax_ = 0;
}
setLimites(zone) {
this.xmin_ = zone.getX();
this.xmax_ = zone.getX() + zone.getWidth() - this.getWidth();
this.ymin_ = zone.getY();
this.ymax_ = zone.getY() + zone.getHeight() - this.getHeight();
}
animer() {
}
figer() {
}
}