mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-09 19:57:19 +00:00
6230bbea24
Reviewed By: wraitii Differential Revision: https://code.wildfiregames.com/D1850 This was SVN commit r22513.
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);
|