1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 17:19:31 +00:00

Update doc

This commit is contained in:
Étienne Fildadut 2021-12-27 16:25:40 +01:00
parent 7e0c41bb04
commit bfa73f6dd0
11 changed files with 31 additions and 31 deletions

View file

@ -178,7 +178,7 @@ end
<h2><a href="#Layer_objects">Layer objects </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Layer:draw">Layer:draw ([, x=0[, y=0]])</a></td>
<td class="name" nowrap><a href="#Layer:draw">Layer:draw ([x=0[, y=0]])</a></td>
<td class="summary">Draw the current layer.</td>
</tr>
<tr>
@ -311,19 +311,19 @@ end
<h2><a href="#Level_objects">Level objects </a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#Level:draw">Level:draw ([, x=0[, y=0]])</a></td>
<td class="name" nowrap><a href="#Level:draw">Level:draw ([x=0[, y=0]])</a></td>
<td class="summary">Draw this level.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Level:drawBackground">Level:drawBackground ([, x=0[, y=0]])</a></td>
<td class="name" nowrap><a href="#Level:drawBackground">Level:drawBackground ([x=0[, y=0]])</a></td>
<td class="summary">Draw this level background.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Level:load">Level:load ([, callbacks])</a></td>
<td class="name" nowrap><a href="#Level:load">Level:load ([callbacks])</a></td>
<td class="summary">Load the level.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#Level:unload">Level:unload ([, callbacks])</a></td>
<td class="name" nowrap><a href="#Level:unload">Level:unload ([callbacks])</a></td>
<td class="summary">Unload the level.</td>
</tr>
<tr>
@ -767,7 +767,7 @@ end
<dl class="function">
<dt>
<a name = "Layer:draw"></a>
<strong>Layer:draw ([, x=0[, y=0]])</strong>
<strong>Layer:draw ([x=0[, y=0]])</strong>
</dt>
<dd>
Draw the current layer. </p>
@ -1475,7 +1475,7 @@ end
<dl class="function">
<dt>
<a name = "Level:draw"></a>
<strong>Level:draw ([, x=0[, y=0]])</strong>
<strong>Level:draw ([x=0[, y=0]])</strong>
</dt>
<dd>
Draw this level.
@ -1515,7 +1515,7 @@ end
</dd>
<dt>
<a name = "Level:drawBackground"></a>
<strong>Level:drawBackground ([, x=0[, y=0]])</strong>
<strong>Level:drawBackground ([x=0[, y=0]])</strong>
</dt>
<dd>
Draw this level background. </p>
@ -1554,7 +1554,7 @@ end
</dd>
<dt>
<a name = "Level:load"></a>
<strong>Level:load ([, callbacks])</strong>
<strong>Level:load ([callbacks])</strong>
</dt>
<dd>
Load the level.
@ -1595,7 +1595,7 @@ end
</dd>
<dt>
<a name = "Level:unload"></a>
<strong>Level:unload ([, callbacks])</strong>
<strong>Level:unload ([callbacks])</strong>
</dt>
<dd>
<p>Unload the level.
@ -1829,7 +1829,7 @@ end
Level background. </p>
<p> If there is a background image, <code>background.image</code> contains a table <code>{image=image, x=number, y=number, sx=number, sy=number}</code>
where <a href="../modules/ldtk.html#Tileset.image">image</a> is the LÖVE image (or image filepath if LÖVE not available) <a href="../modules/ldtk.html#Layer.x">x</a> and <a href="../modules/ldtk.html#Level.y">y</a> are the top-left position,
where <a href="../modules/ldtk.html#Tileset.image">image</a> is the LÖVE image (or image filepath if LÖVE not available) <a href="../modules/ldtk.html#Tile.x">x</a> and <a href="../modules/ldtk.html#Entity.y">y</a> are the top-left position,
and <a href="../modules/ldtk.html#Entity.sx">sx</a> and <a href="../modules/ldtk.html#Entity.sy">sy</a> the horizontal and vertical scale factors.
</ul>
@ -1904,7 +1904,7 @@ end
<li>Enum are converted into a Lua string giving the currently selected enum value.</li>
<li>Filepath are converted into a Lua string giving the file path.</li>
<li>Arrays are converted into a Lua table with the elements in it as a list.</li>
<li>Points are converted into a Lua table with the fields <a href="../modules/ldtk.html#Layer.x">x</a> and <a href="../modules/ldtk.html#Level.y">y</a>: <code>{ x=number, y=number }</code>.</li>
<li>Points are converted into a Lua table with the fields <a href="../modules/ldtk.html#Tile.x">x</a> and <a href="../modules/ldtk.html#Entity.y">y</a>: <code>{ x=number, y=number }</code>.</li>
<li>Colors are converted into a Lua table with the red, green and blue components in [0-1] as a list: <code>{r,g,b}</code>.</li>
</ul>
@ -1930,7 +1930,7 @@ end
</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 2021-12-27 14:09:51 </i>
<i style="float:right;">Last updated 2021-12-27 16:25:25 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>