forked from arne/asdf-games
8 lines
121 B
JavaScript
8 lines
121 B
JavaScript
class Texture {
|
|
constructor(url) {
|
|
this.img = new Image();
|
|
this.img.src = url;
|
|
}
|
|
}
|
|
module.exports = Texture;
|