public override void render(PokeEngine engine, int xs, int ys) { if (texArr[0] == -1 && texArr[1] == -1) { refreshTexture(); } int rx = x * WIDTH + xs; int ry = y * WIDTH + ys; BatchUtil.Draw(engine, Art.tiles[0, 0], rx, ry); BatchUtil.Draw(engine, Art.blocks[texArr[0], texArr[1]], rx, ry); }
public override void render() { BatchUtil.Draw(map.engine, Art.tiles[0, 1], x, y); }
public override void render(PokeEngine engine, int xs, int ys) { BatchUtil.Draw(engine, Art.tiles[tex, 0], (x << 4) + xs, (y << 4) + ys); }