mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-21 07:43:59 -07:00
6 lines
181 B
JavaScript
6 lines
181 B
JavaScript
Engine.LoadComponentScript("Player.js");
|
|
|
|
var cmp = ConstructComponent(10, "Player");
|
|
|
|
TS_ASSERT_EQUALS(cmp.GetPopulationCount(), 0);
|
|
TS_ASSERT_EQUALS(cmp.GetPopulationLimit(), 0);
|