Changes between Version 3 and Version 4 of Rmgen_Library


Ignore:
Timestamp:
Sep 29, 2011, 9:16:58 PM (13 years ago)
Author:
historic_bruno
Comment:

Updates for starting entities

Legend:

Unmodified
Added
Removed
Modified
  • Rmgen_Library

    v3 v4  
    143143 * `getNumPlayers()`: Returns number of players.
    144144 * `getCivCode(player)`: Returns the 4-character civ code of the given player.
     145 * `getStartingEntities(player)`: Returns an array of civ-specific starting entity objects, as defined in `/civs/*.json`. Each object has a `Template` and an optional `Count` property. The first entry is usually the civ centre.
    145146 * `isCircularMap()`: Returns true if the map is circular.
    146147