asdf-games/asdf/Texture.js

8 lines
119 B
JavaScript
Raw Normal View History

class Texture {
constructor(url) {
this.img = new Image();
this.img.src = url;
}
}
export default Texture;