mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 15:38:18 +02:00
18 lines
494 B
JavaScript
18 lines
494 B
JavaScript
(function() {
|
|
Script.include('utils.js');
|
|
|
|
var Fuse = function() {
|
|
};
|
|
Fuse.prototype = {
|
|
onLit: function() {
|
|
print("fuseCollider.js | Lit", this.entityID);
|
|
var fuseID = "{c8944a13-9acb-4d77-b1ee-851845e98357}"
|
|
Entities.callEntityMethod(fuseID, "light");
|
|
},
|
|
preload: function(entityID) {
|
|
print("fuseCollider.js | preload");
|
|
this.entityID = entityID;
|
|
},
|
|
};
|
|
return new Fuse();
|
|
});
|