mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-05 19:28:01 +02:00
21 lines
423 B
JavaScript
21 lines
423 B
JavaScript
// Chapter 1: fireworksLaunchButtonEntityScript.js
|
|
|
|
(function() {
|
|
Script.include("../../libraries/utils.js");
|
|
var _this;
|
|
Fireworks = function() {
|
|
_this = this;
|
|
};
|
|
|
|
Fireworks.prototype = {
|
|
|
|
preload: function(entityID) {
|
|
_this.entityID = entityID;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
// entity scripts always need to return a newly constructed object of our type
|
|
return new Fireworks();
|
|
});
|