12 lines
210 B
JavaScript
12 lines
210 B
JavaScript
|
GameLib.D3.Entity = function(
|
||
|
meshId,
|
||
|
componentIds
|
||
|
) {
|
||
|
this.meshId = meshId;
|
||
|
|
||
|
if (typeof componentIds == 'undefined') {
|
||
|
componentIds = [];
|
||
|
}
|
||
|
|
||
|
this.componentIds = componentIds;
|
||
|
};
|