mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 21:34:08 -07:00
Reviewed By: wraitii Differential Revision: https://code.wildfiregames.com/D1850 This was SVN commit r22513.
13 lines
266 B
JavaScript
13 lines
266 B
JavaScript
function Modding() {}
|
|
|
|
Modding.prototype.Schema = "<ref name='anything'/>";
|
|
|
|
Modding.prototype.Init = function() {
|
|
this.x = +this.template.x;
|
|
};
|
|
|
|
Modding.prototype.GetX = function() {
|
|
return this.x;
|
|
};
|
|
|
|
Engine.RegisterComponentType(IID_Test1, "Modding", Modding);
|