mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-08-20 21:38:29 -04:00
main changes: - add parameter and return types where applicable - use @module and @classmod tags at the top of files - remove some redundant descriptions of return values, especially for functions that return a boolean recommended next steps: - more consistent grammar - add links to classes and functions in descriptions where appropriate - be consistent about naming Systems vs. SystemClasses and Components vs. ComponentClasses
195 lines
4.5 KiB
HTML
195 lines
4.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
<head>
|
|
<title>Reference</title>
|
|
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
|
|
</head>
|
|
<body>
|
|
|
|
<div id="container">
|
|
|
|
<div id="product">
|
|
<div id="product_logo"></div>
|
|
<div id="product_name"><big><b></b></big></div>
|
|
<div id="product_description"></div>
|
|
</div> <!-- id="product" -->
|
|
|
|
|
|
<div id="main">
|
|
|
|
|
|
<!-- Menu -->
|
|
|
|
<div id="navigation">
|
|
<br/>
|
|
<h1>Concord</h1>
|
|
|
|
<ul>
|
|
<li><a href="../index.html">Index</a></li>
|
|
</ul>
|
|
|
|
<h2>Contents</h2>
|
|
<ul>
|
|
<li><a href="#Functions">Functions</a></li>
|
|
</ul>
|
|
|
|
|
|
<h2>Modules</h2>
|
|
<ul class="nowrap">
|
|
<li><a href="../modules/Assemblages.html">Assemblages</a></li>
|
|
<li><a href="../modules/Components.html">Components</a></li>
|
|
<li><strong>Concord</strong></li>
|
|
<li><a href="../modules/Systems.html">Systems</a></li>
|
|
<li><a href="../modules/type.html">type</a></li>
|
|
<li><a href="../modules/utils.html">utils</a></li>
|
|
<li><a href="../modules/worlds.html">worlds</a></li>
|
|
</ul>
|
|
<h2>Classes</h2>
|
|
<ul class="nowrap">
|
|
<li><a href="../classes/Assemblage.html">Assemblage</a></li>
|
|
<li><a href="../classes/Component.html">Component</a></li>
|
|
<li><a href="../classes/Entity.html">Entity</a></li>
|
|
<li><a href="../classes/List.html">List</a></li>
|
|
<li><a href="../classes/Pool.html">Pool</a></li>
|
|
<li><a href="../classes/System.html">System</a></li>
|
|
<li><a href="../classes/World.html">World</a></li>
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
<h1>Module <code>Concord</code></h1>
|
|
<p></p>
|
|
<p></p>
|
|
|
|
|
|
<h2><a href="#Functions">Functions</a></h2>
|
|
<table class="function_list">
|
|
<tr>
|
|
<td class="name" nowrap><a href="#loadComponents">loadComponents (pathOrFiles)</a></td>
|
|
<td class="summary">Loads ComponentClasses and puts them in the Components container.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="name" nowrap><a href="#loadSystems">loadSystems (pathOrFiles)</a></td>
|
|
<td class="summary">Loads SystemClasses and puts them in the Systems container.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="name" nowrap><a href="#loadWorlds">loadWorlds (pathOrFiles)</a></td>
|
|
<td class="summary">Loads Worlds and puts them in the Worlds container.</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="name" nowrap><a href="#loadAssemblages">loadAssemblages (pathOrFiles)</a></td>
|
|
<td class="summary">Loads Assemblages and puts them in the Assemblages container.</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br/>
|
|
<br/>
|
|
|
|
|
|
<h2 class="section-header "><a name="Functions"></a>Functions</h2>
|
|
|
|
<dl class="function">
|
|
<dt>
|
|
<a name = "loadComponents"></a>
|
|
<strong>loadComponents (pathOrFiles)</strong>
|
|
</dt>
|
|
<dd>
|
|
Loads ComponentClasses and puts them in the Components container.
|
|
Accepts a table of paths to files: {"component_1", "component_2", "etc"}
|
|
Accepts a path to a directory with ComponentClasses: "components"
|
|
|
|
|
|
<h3>Parameters:</h3>
|
|
<ul>
|
|
<li><span class="parameter">pathOrFiles</span>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
<dt>
|
|
<a name = "loadSystems"></a>
|
|
<strong>loadSystems (pathOrFiles)</strong>
|
|
</dt>
|
|
<dd>
|
|
Loads SystemClasses and puts them in the Systems container.
|
|
Accepts a table of paths to files: {"system_1", "system_2", "etc"}
|
|
Accepts a path to a directory with SystemClasses: "systems"
|
|
|
|
|
|
<h3>Parameters:</h3>
|
|
<ul>
|
|
<li><span class="parameter">pathOrFiles</span>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
<dt>
|
|
<a name = "loadWorlds"></a>
|
|
<strong>loadWorlds (pathOrFiles)</strong>
|
|
</dt>
|
|
<dd>
|
|
Loads Worlds and puts them in the Worlds container.
|
|
Accepts a table of paths to files: {"world_1", "world_2", "etc"}
|
|
Accepts a path to a directory with Worlds: "worlds"
|
|
|
|
|
|
<h3>Parameters:</h3>
|
|
<ul>
|
|
<li><span class="parameter">pathOrFiles</span>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
<dt>
|
|
<a name = "loadAssemblages"></a>
|
|
<strong>loadAssemblages (pathOrFiles)</strong>
|
|
</dt>
|
|
<dd>
|
|
Loads Assemblages and puts them in the Assemblages container.
|
|
Accepts a table of paths to files: {"assemblage_1", "assemblage_2", "etc"}
|
|
Accepts a path to a directory with Assemblages: "assemblages"
|
|
|
|
|
|
<h3>Parameters:</h3>
|
|
<ul>
|
|
<li><span class="parameter">pathOrFiles</span>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</div> <!-- id="content" -->
|
|
</div> <!-- id="main" -->
|
|
<div id="about">
|
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
|
|
<i style="float:right;">Last updated 2020-01-04 10:27:07 </i>
|
|
</div> <!-- id="about" -->
|
|
</div> <!-- id="container" -->
|
|
</body>
|
|
</html>
|