All but one test on gossip.news-items pass
Ran 23 tests containing 105 assertions. 1 failures, 0 errors.
This commit is contained in:
parent
23032c586c
commit
32d6d71e6c
10 changed files with 185 additions and 89 deletions
|
|
@ -29,4 +29,4 @@
|
|||
<li>crafts to which it is appropriate;</li>
|
||||
<li>cultures to which it is appropriate.</li>
|
||||
</ul>
|
||||
<p>Each generated building will be of one family, and will comprise modules taken only from that family.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L98">view source</a></div></div><div class="public anchor" id="var-*crafts*"><h3>*crafts*</h3><h4 class="dynamic">dynamic</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Crafts which affect building types in the game. See <code>Populating a game world</code>. TODO: placeholder</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L93">view source</a></div></div><div class="public anchor" id="var-*cultures*"><h3>*cultures*</h3><h4 class="dynamic">dynamic</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Cultures which affect building families. TODO: placeholder</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L89">view source</a></div></div><div class="public anchor" id="var-*terrain-types*"><h3>*terrain-types*</h3><h4 class="dynamic">dynamic</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Types of terrain which affect building families. TODO: This is a placeholder; a more sophisticated model will be needed.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L84">view source</a></div></div><div class="public anchor" id="var-build.21"><h3>build!</h3><div class="usage"><code>(build! holding terrain culture craft size)</code></div><div class="doc"><div class="markdown"><p>Builds a building, and returns a data structure which represents it. In building the building, it adds a model of the building to the representation of the world, so it does have a side effect.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L163">view source</a></div></div><div class="public anchor" id="var-building-family"><h3>building-family</h3><div class="usage"><code>(building-family terrain culture craft gene)</code></div><div class="doc"><div class="markdown"><p>A building family is essentially a collection of models of building modules which can be assembled to create buildings of a particular structural and architectural style.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L149">view source</a></div></div></div></body></html>
|
||||
<p>Each generated building will be of one family, and will comprise modules taken only from that family.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L98">view source</a></div></div><div class="public anchor" id="var-*crafts*"><h3>*crafts*</h3><h4 class="dynamic">dynamic</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Crafts which affect building types in the game. See <code>Populating a game world</code>. TODO: placeholder</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L93">view source</a></div></div><div class="public anchor" id="var-*cultures*"><h3>*cultures*</h3><h4 class="dynamic">dynamic</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Cultures which affect building families. TODO: placeholder</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L89">view source</a></div></div><div class="public anchor" id="var-*terrain-types*"><h3>*terrain-types*</h3><h4 class="dynamic">dynamic</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>Types of terrain which affect building families. TODO: This is a placeholder; a more sophisticated model will be needed.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L84">view source</a></div></div><div class="public anchor" id="var-build.21"><h3>build!</h3><div class="usage"><code>(build! holding terrain culture craft size)</code></div><div class="doc"><div class="markdown"><p>Builds a building, and returns a data structure which represents it. In building the building, it adds a model of the building to the representation of the world, so it does have a side effect.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L133">view source</a></div></div><div class="public anchor" id="var-building-family"><h3>building-family</h3><div class="usage"><code>(building-family terrain culture craft gene)</code></div><div class="doc"><div class="markdown"><p>A building family is essentially a collection of models of building modules which can be assembled to create buildings of a particular structural and architectural style.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/the-great-game/blob/master/src/cc/journeyman/the_great_game/buildings/rectangular.clj#L119">view source</a></div></div></div></body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue