TextureAtom.int constructor
Implementation
TextureAtom.int(
int x1, int y1, int x2, int y2, this.textureName, this.tl, this.th) {
tx1 = x1 / tl;
tx2 = x2 / tl;
ty1 = y1 / th;
ty2 = y2 / th;
frames = 1;
fps = 1;
len = (x2 - x1).abs();
hgt = (y2 - y1).abs();
ix1 = x1;
iy1 = y1;
ix2 = x2;
iy2 = y2;
}