0ad/binaries/data/mods/_test.sim/simulation/components
elexis eb6f14a82d AI prototype chain cleanup.
Use prototype = Object.create(parent) instead of prototype = new
parent(...) to avoid calling the constructor needlessly (as it is
redundant with the base constructor call in the constructor calls the
parent constructor).

Testfile reference comes from 7c2e9027c2,
"initial terrible AI player scripts" had it since 57e5bb878a,
jubot copied it since 02ed11ac54,
qbot copied it since b146f53d7b
qbot-wc (later aegis) copied it since 45ee419171,
aegis copied it since bcf7115b5c,
petra copied it since 97afd25171.

d23b7deb98 used Object.create correctly for new code in aegis that was
adopted for petra too in 97afd25171.

Differential Revision: https://code.wildfiregames.com/D2238
Patch By: Krinkle
This was SVN commit r22834.
2019-09-02 17:33:59 +00:00
..
addentity # Automatic runtime validation of entity template files. 2010-04-14 17:22:32 +00:00
interfaces # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
error.js # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
test-addentity.js # Basic in-game building placement with new simulation system 2010-01-24 17:24:35 +00:00
test-destroyentity.js Fix warnings in tests 2010-05-10 09:52:35 +00:00
test-entityid.js Support new SpiderMonkey API. 2010-11-16 23:00:52 +00:00
test-global-helper.js Implements global tech modification function. Fixes #1358, refs #1520. 2012-07-03 02:16:45 +00:00
test-helper.js # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
test-hotload1.js Update of the scripting tests. Test some modding features and update JS::Value integer limits. 2019-07-19 15:41:27 +00:00
test-hotload2.js # Automatic runtime validation of entity template files. 2010-04-14 17:22:32 +00:00
test-interface.js # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
test-modding1.js Update of the scripting tests. Test some modding features and update JS::Value integer limits. 2019-07-19 15:41:27 +00:00
test-modding2.js Update of the scripting tests. Test some modding features and update JS::Value integer limits. 2019-07-19 15:41:27 +00:00
test-msg.js # Added initial support for players and population counters in new simulation system, plus various infrastructure improvements. 2010-01-22 20:03:14 +00:00
test-param.js # Add initial basic player AI framework. 2011-01-12 12:29:00 +00:00
test-query.js # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
test-serialize.js Fix ESLint semicolon-related warnings 2019-07-01 11:09:19 +00:00
test.js AI prototype chain cleanup. 2019-09-02 17:33:59 +00:00