mdx-m3-viewer
Version:
A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.
24 lines (20 loc) • 351 B
JavaScript
import Resource from './resource';
/**
* A generic resource.
*/
export default class GenericResource extends Resource {
/**
* @param {Object} resourceData
*/
constructor(resourceData) {
super(resourceData);
/** @member {*} */
this.data = null;
}
/**
* @param {*} data
*/
load(data) {
this.data = data;
}
}