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