mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-10 17:05:48 -07:00
14 lines
266 B
JavaScript
14 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);
|