Commit 8cd71e19 authored by nachtgold's avatar nachtgold Committed by Hubert Denkmair
Browse files

log method added to docs + method-font-size increased

parent dd51f0ec
......@@ -16,3 +16,7 @@
padding: 0px;
border: none;
}
.markdown-body dl dt {
font-size: 1.2em;
}
\ No newline at end of file
......@@ -45,4 +45,9 @@ end
-- item.bot -- id of the other snake
-- end
function findSegments(max_distance, include_own)
end
--- That method sends messages to the development console.
-- @param message this string will be transfered to the console
function log(message)
end
\ No newline at end of file
......@@ -52,6 +52,10 @@
<td class="name" nowrap><a href="#findSegments">findSegments (max_distance, include_own)</a></td>
<td class="summary">That method returns all segments of all snakes within a certain radius as list.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#log">log (message)</a></td>
<td class="summary">That method sends messages to the development console.</td>
</tr>
</table>
......@@ -166,6 +170,26 @@
</span> <span class="keyword">end</span></code></pre>
</ul>
</dd>
<dt>
<a name = "log"></a>
<strong>log (message)</strong>
</dt>
<dd>
That method sends messages to the development console.
<h4>Parameters:</h4>
<ul>
<li><code>message</code>
this string will be transfered to the console
</li>
</ul>
</dd>
</dl>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment