1
0
forked from 0ad/0ad
0ad/binaries/data/mods/_test.sim/simulation/components/test-destroyentity.js
Ykkrosh 434248167b Fix warnings in tests
This was SVN commit r7535.
2010-05-10 09:52:35 +00:00

10 lines
236 B
JavaScript

function TestScript1_DestroyEntity() {}
TestScript1_DestroyEntity.prototype.GetX = function()
{
Engine.DestroyEntity(10);
return 0;
};
Engine.RegisterComponentType(IID_Test1, "TestScript1_DestroyEntity", TestScript1_DestroyEntity);