mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-26 03:15:21 +02:00
27 lines
No EOL
488 B
JavaScript
27 lines
No EOL
488 B
JavaScript
(function() {
|
|
|
|
var _this;
|
|
|
|
var d = new Date();
|
|
var h = d.getHours();
|
|
h = h % 12;
|
|
|
|
CuckooClock = function() {
|
|
_this = this;
|
|
|
|
};
|
|
|
|
CuckooClock.prototype = {
|
|
|
|
|
|
preload: function(entityID) {
|
|
_this.entityID = entityID; // this.animation.isRunning = true;
|
|
print("PRELOAD ENTITY SCRIPT!!!")
|
|
},
|
|
|
|
|
|
};
|
|
|
|
// entity scripts always need to return a newly constructed object of our type
|
|
return new CuckooClock();
|
|
}); |