1
0
forked from 0ad/0ad
0ad/binaries/data/mods/_test.sim/simulation/components/test-helper.js
Ykkrosh 7c2e9027c2 # Rewrite of the game's simulation system
Giant merge from
http://svn.wildfiregames.com/hg-source/file/5fb522019d5e
Infrastructure is largely complete, gameplay is largely missing
Disabled by default; use command-line flag "-sim2"
(Second attempt at commit...)

This was SVN commit r7259.
2010-01-09 19:20:14 +00:00

8 lines
200 B
JavaScript

function TestScript1_Helper() {}
TestScript1_Helper.prototype.GetX = function() {
return AdditionHelper(1, 2);
};
Engine.RegisterComponentType(IID_Test1, "TestScript1_Helper", TestScript1_Helper);