mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-21 07:43:59 -07:00
9 lines
225 B
JavaScript
9 lines
225 B
JavaScript
|
|
function TestScript1_DestroyEntity() {}
|
||
|
|
|
||
|
|
TestScript1_DestroyEntity.prototype.GetX = function()
|
||
|
|
{
|
||
|
|
Engine.DestroyEntity(10);
|
||
|
|
};
|
||
|
|
|
||
|
|
Engine.RegisterComponentType(IID_Test1, "TestScript1_DestroyEntity", TestScript1_DestroyEntity);
|