Skin.constructor (layout, proto, name, creator) |
constructor function for skin objects |
Sourcecode in Skin/objectFunctions.js:
1: function constructor(layout, proto, name, creator) { 2: this.layout = layout; 3: this.proto = proto; 4: this.name = name; 5: this.custom = 0; 6: this.creator = this.modifier = creator; 7: this.createtime = new Date(); 8: this.modifytime = new Date(); 9: return this; 10: } |