content/hifi-content/zfox/marketplaceAttack/attackCubeScript.js
2022-02-14 02:04:11 +01:00

26 lines
591 B
JavaScript

(function() {
var _this = null; // will be initialized on preload
// define prototype AttackCube
function AttackCube() {
return;
}
AttackCube.prototype = {
entityID: null,
preload: function(entityID) {
_this = this;
_this.entityID = entityID;
Script.include(Script.resolvePath('marketplaces.js?' + Date.now()));
},
unload: function () {
}
};
// entity scripts should return a newly constructed object of our type
return new AttackCube();
});