Subversion Repository Public Repository

Nextrek

Diff Revisions 1084 vs 1086 for /s2s/data/B333A615K38FAA45B8SA13EE1AADAF98EFAF.json

Diff revisions: vs.
  @@ -6,10 +6,10 @@
6 6 "name": "Component",
7 7 "type": "game_script",
8 8 "order": 0,
9 - "content": "# ===================================================================\n#\n# Script: Component\n#\n# $$COPYRIGHT$$\n#\n# ===================================================================\nclass Component\n ###*\n * The base class of all components. A component defines a certain piece of\n * game logic. \n *\n * @module gs\n * @class Component\n * @memberof gs\n * @constructor\n ###\n constructor: ->\n ###*\n * The associated game object. A component only be part of one game object at the same time.\n * @property object\n * @type gs.Object_Base\n * @default null\n ###\n @object = null\n \n ###*\n * Indicates if the component is disposed. A disposed component cannot be used anymore.\n * @property disposed\n * @type boolean\n * @default false\n ###\n @disposed = no\n \n ###*\n * An optional unique id. The component can be accessed through this ID using the gs.Object_Base.findComponentById method.\n * @property id\n * @type string\n * @default null\n ###\n @id = null\n \n ###*\n * Indicates if the component is setup.\n * @property isSetup\n * @type boolean\n * @default no\n ###\n @isSetup = no\n \n ###*\n * Called when the component is added to a new object.\n * @method setup\n ###\n setup: -> \n @isSetup = yes\n \n ###*\n * Disposes the component. The component will be removed from the game object\n * automatically.\n * @method dispose\n ###\n dispose: -> @disposed = yes\n \n ###*\n * Updates the component. Needs to be implemented in derived class.\n * @method update\n ###\n update: ->\n \ngs.Component = Component",
9 + "content": "# ===================================================================\n#\n# Script: Component\n#\n# $$COPYRIGHT$$\n#\n# ===================================================================\nclass Component\n ###*\n * The base class of all components. A component defines a certain piece of\n * game logic. \n *\n * @module gs\n * @class Component\n * @memberof gs\n * @constructor\n ###\n constructor: ->\n ###*\n * The associated game object. A component only be part of one game object at the same time.\n * @property object\n * @type gs.Object_Base\n * @default null\n ###\n @object = null\n \n ###*\n * Indicates if the component is disposed. A disposed component cannot be used anymore.\n * @property disposed\n * @type boolean\n * @default false\n ###\n @disposed = no\n \n ###*\n * An optional unique id. The component can be accessed through this ID using the gs.Object_Base.findComponentById method.\n * @property id\n * @type string\n * @default null\n ###\n @id = null\n \n ###*\n * An optional name. The component can be found through its name using the gs.Object_Base.findComponentsByName method. Multiple\n * components can have the same name. So the name can also be used to categorize components.\n * @property name\n * @type string\n * @default \"\"\n ###\n @name = \"\"\n \n ###*\n * Indicates if the component is setup.\n * @property isSetup\n * @type boolean\n * @default no\n ###\n @isSetup = no\n \n ###*\n * Called when the component is added to a new object.\n * @method setup\n ###\n setup: -> \n @isSetup = yes\n \n ###*\n * Disposes the component. The component will be removed from the game object\n * automatically.\n * @method dispose\n ###\n dispose: -> @disposed = yes\n \n ###*\n * Updates the component. Needs to be implemented in derived class.\n * @method update\n ###\n update: ->\n \ngs.Component = Component",
10 10 "parentId": "D3325122KACDEA4515SB731E37A42B9D779F",
11 11 "folder": false,
12 - "compiledContent": "var Component;\n\nComponent = (function() {\n\n /**\n * The base class of all components. A component defines a certain piece of\n * game logic. \n *\n * @module gs\n * @class Component\n * @memberof gs\n * @constructor\n */\n function Component() {\n\n /**\n * The associated game object. A component only be part of one game object at the same time.\n * @property object\n * @type gs.Object_Base\n * @default null\n */\n this.object = null;\n\n /**\n * Indicates if the component is disposed. A disposed component cannot be used anymore.\n * @property disposed\n * @type boolean\n * @default false\n */\n this.disposed = false;\n\n /**\n * An optional unique id. The component can be accessed through this ID using the gs.Object_Base.findComponentById method.\n * @property id\n * @type string\n * @default null\n */\n this.id = null;\n\n /**\n * Indicates if the component is setup.\n * @property isSetup\n * @type boolean\n * @default no\n */\n this.isSetup = false;\n }\n\n\n /**\n * Called when the component is added to a new object.\n * @method setup\n */\n\n Component.prototype.setup = function() {\n return this.isSetup = true;\n };\n\n\n /**\n * Disposes the component. The component will be removed from the game object\n * automatically.\n * @method dispose\n */\n\n Component.prototype.dispose = function() {\n return this.disposed = true;\n };\n\n\n /**\n * Updates the component. Needs to be implemented in derived class.\n * @method update\n */\n\n Component.prototype.update = function() {};\n\n return Component;\n\n})();\n\ngs.Component = Component;\n\n//# sourceMappingURL=data:application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EBtb2R1bGUgZ3NcbiAgICAqIEBjbGFzcyBDb21wb25lbnRcbiAgICAqIEBtZW1iZXJvZiBnc1xuICAgICogQGNvbnN0cnVjdG9yXG4gICAgIyMjXG4gICAgY29uc3RydWN0b3I6IC0+XG4gICAgICAgICMjIypcbiAgICAgICAgKiBUaGUgYXNzb2NpYXRlZCBnYW1lIG9iamVjdC4gQSBjb21wb25lbnQgb25seSBiZSBwYXJ0IG9mIG9uZSBnYW1lIG9iamVjdCBhdCB0aGUgc2FtZSB0aW1lLlxuICAgICAgICAqIEBwcm9wZXJ0eSBvYmplY3RcbiAgICAgICAgKiBAdHlwZSBncy5PYmplY3RfQmFzZVxuICAgICAgICAqIEBkZWZhdWx0IG51bGxcbiAgICAgICAgIyMjXG4gICAgICAgIEBvYmplY3QgPSBudWxsXG4gICAgICAgIFxuICAgICAgICAjIyMqXG4gICAgICAgICogSW5kaWNhdGVzIGlmIHRoZSBjb21wb25lbnQgaXMgZGlzcG9zZWQuIEEgZGlzcG9zZWQgY29tcG9uZW50IGNhbm5vdCBiZSB1c2VkIGFueW1vcmUuXG4gICAgICAgICogQHByb3BlcnR5IGRpc3Bvc2VkXG4gICAgICAgICogQHR5cGUgYm9vbGVhblxuICAgICAgICAqIEBkZWZhdWx0IGZhbHNlXG4gICAgICAgICMjI1xuICAgICAgICBAZGlzcG9zZWQgPSBub1xuICAgICAgICBcbiAgICAgICAgIyMjKlxuICAgICAgICAqIEFuIG9wdGlvbmFsIHVuaXF1ZSBpZC4gVGhlIGNvbXBvbmVudCBjYW4gYmUgYWNjZXNzZWQgdGhyb3VnaCB0aGlzIElEIHVzaW5nIHRoZSBncy5PYmplY3RfQmFzZS5maW5kQ29tcG9uZW50QnlJZCBtZXRob2QuXG4gICAgICAgICogQHByb3BlcnR5IGlkXG4gICAgICAgICogQHR5cGUgc3RyaW5nXG4gICAgICAgICogQGRlZmF1bHQgbnVsbFxuICAgICAgICAjIyNcbiAgICAgICAgQGlkID0gbnVsbFxuICAgICAgICBcbiAgICAgICAgIyMjKlxuICAgICAgICAqIEluZGljYXRlcyBpZiB0aGUgY29tcG9uZW50IGlzIHNldHVwLlxuICAgICAgICAqIEBwcm9wZXJ0eSBpc1NldHVwXG4gICAgICAgICogQHR5cGUgYm9vbGVhblxuICAgICAgICAqIEBkZWZhdWx0IG5vXG4gICAgICAgICMjI1xuICAgICAgICBAaXNTZXR1cCA9IG5vXG4gICAgICAgIFxuICAgICMjIypcbiAgICAqIENhbGxlZCB3aGVuIHRoZSBjb21wb25lbnQgaXMgYWRkZWQgdG8gYSBuZXcgb2JqZWN0LlxuICAgICogQG1ldGhvZCBzZXR1cFxuICAgICMjI1xuICAgIHNldHVwOiAtPiBcbiAgICAgICAgQGlzU2V0dXAgPSB5ZXNcbiAgICAgICAgXG4gICAgIyMjKlxuICAgICogRGlzcG9zZXMgdGhlIGNvbXBvbmVudC4gVGhlIGNvbXBvbmVudCB3aWxsIGJlIHJlbW92ZWQgZnJvbSB0aGUgZ2FtZSBvYmplY3RcbiAgICAqIGF1dG9tYXRpY2FsbHkuXG4gICAgKiBAbWV0aG9kIGRpc3Bvc2VcbiAgICAjIyNcbiAgICBkaXNwb3NlOiAtPiBAZGlzcG9zZWQgPSB5ZXNcbiAgICBcbiAgICAjIyMqXG4gICAgKiBVcGRhdGVzIHRoZSBjb21wb25lbnQuIE5lZWRzIHRvIGJlIGltcGxlbWVudGVkIGluIGRlcml2ZWQgY2xhc3MuXG4gICAgKiBAbWV0aG9kIHVwZGF0ZVxuICAgICMjI1xuICAgIHVwZGF0ZTogLT5cbiAgICAgICAgXG5ncy5Db21wb25lbnQgPSBDb21wb25lbnQiXX0=\n//# sourceURL=Component_4.js"
12 + "compiledContent": "var Component;\n\nComponent = (function() {\n\n /**\n * The base class of all components. A component defines a certain piece of\n * game logic. \n *\n * @module gs\n * @class Component\n * @memberof gs\n * @constructor\n */\n function Component() {\n\n /**\n * The associated game object. A component only be part of one game object at the same time.\n * @property object\n * @type gs.Object_Base\n * @default null\n */\n this.object = null;\n\n /**\n * Indicates if the component is disposed. A disposed component cannot be used anymore.\n * @property disposed\n * @type boolean\n * @default false\n */\n this.disposed = false;\n\n /**\n * An optional unique id. The component can be accessed through this ID using the gs.Object_Base.findComponentById method.\n * @property id\n * @type string\n * @default null\n */\n this.id = null;\n\n /**\n * An optional name. The component can be found through its name using the gs.Object_Base.findComponentsByName method. Multiple\n * components can have the same name. So the name can also be used to categorize components.\n * @property name\n * @type string\n * @default \"\"\n */\n this.name = \"\";\n\n /**\n * Indicates if the component is setup.\n * @property isSetup\n * @type boolean\n * @default no\n */\n this.isSetup = false;\n }\n\n\n /**\n * Called when the component is added to a new object.\n * @method setup\n */\n\n Component.prototype.setup = function() {\n return this.isSetup = true;\n };\n\n\n /**\n * Disposes the component. The component will be removed from the game object\n * automatically.\n * @method dispose\n */\n\n Component.prototype.dispose = function() {\n return this.disposed = true;\n };\n\n\n /**\n * Updates the component. Needs to be implemented in derived class.\n * @method update\n */\n\n Component.prototype.update = function() {};\n\n return Component;\n\n})();\n\ngs.Component = Component;\n\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU9BLElBQUE7O0FBQU07O0FBQ0Y7Ozs7Ozs7OztFQVNhLG1CQUFBOztBQUNUOzs7Ozs7SUFNQSxJQUFDLENBQUEsTUFBRCxHQUFVOztBQUVWOzs7Ozs7SUFNQSxJQUFDLENBQUEsUUFBRCxHQUFZOztBQUVaOzs7Ozs7SUFNQSxJQUFDLENBQUEsRUFBRCxHQUFNOztBQUVOOzs7Ozs7O0lBT0EsSUFBQyxDQUFBLElBQUQsR0FBUTs7QUFFUjs7Ozs7O0lBTUEsSUFBQyxDQUFBLE9BQUQsR0FBVztFQXhDRjs7O0FBMENiOzs7OztzQkFJQSxLQUFBLEdBQU8sU0FBQTtXQUNILElBQUMsQ0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WZhdWx0IFwiXCJcbiAgICAgICAgIyMjXG4gICAgICAgIEBuYW1lID0gXCJcIlxuICAgICAgICBcbiAgICAgICAgIyMjKlxuICAgICAgICAqIEluZGljYXRlcyBpZiB0aGUgY29tcG9uZW50IGlzIHNldHVwLlxuICAgICAgICAqIEBwcm9wZXJ0eSBpc1NldHVwXG4gICAgICAgICogQHR5cGUgYm9vbGVhblxuICAgICAgICAqIEBkZWZhdWx0IG5vXG4gICAgICAgICMjI1xuICAgICAgICBAaXNTZXR1cCA9IG5vXG4gICAgICAgIFxuICAgICMjIypcbiAgICAqIENhbGxlZCB3aGVuIHRoZSBjb21wb25lbnQgaXMgYWRkZWQgdG8gYSBuZXcgb2JqZWN0LlxuICAgICogQG1ldGhvZCBzZXR1cFxuICAgICMjI1xuICAgIHNldHVwOiAtPiBcbiAgICAgICAgQGlzU2V0dXAgPSB5ZXNcbiAgICAgICAgXG4gICAgIyMjKlxuICAgICogRGlzcG9zZXMgdGhlIGNvbXBvbmVudC4gVGhlIGNvbXBvbmVudCB3aWxsIGJlIHJlbW92ZWQgZnJvbSB0aGUgZ2FtZSBvYmplY3RcbiAgICAqIGF1dG9tYXRpY2FsbHkuXG4gICAgKiBAbWV0aG9kIGRpc3Bvc2VcbiAgICAjIyNcbiAgICBkaXNwb3NlOiAtPiBAZGlzcG9zZWQgPSB5ZXNcbiAgICBcbiAgICAjIyMqXG4gICAgKiBVcGRhdGVzIHRoZSBjb21wb25lbnQuIE5lZWRzIHRvIGJlIGltcGxlbWVudGVkIGluIGRlcml2ZWQgY2xhc3MuXG4gICAgKiBAbWV0aG9kIHVwZGF0ZVxuICAgICMjI1xuICAgIHVwZGF0ZTogLT5cbiAgICAgICAgXG5ncy5Db21wb25lbnQgPSBDb21wb25lbnQiXX0=\n//# sourceURL=Component_15.js"
13 13 },
14 14 "summary": [
15 15 "name",