forked from 0ad/0ad
10 lines
236 B
JavaScript
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);
|