r3-legacy/src/game-lib-entity.js

12 lines
210 B
JavaScript
Raw Normal View History

2016-10-28 15:30:15 +02:00
GameLib.D3.Entity = function(
meshId,
componentIds
) {
this.meshId = meshId;
if (typeof componentIds == 'undefined') {
componentIds = [];
}
this.componentIds = componentIds;
};