forked from Mirrors/openclonk
26 lines
857 B
XML
26 lines
857 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!DOCTYPE funcs
|
|
SYSTEM '../../../clonk.dtd'>
|
|
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
|
|
<funcs>
|
|
<func>
|
|
<title>GameOver</title>
|
|
<category>Global</category>
|
|
<version>5.1 OC</version>
|
|
<syntax><rtype>bool</rtype></syntax>
|
|
<desc>Ends the round. The game will count as won for all surviving players.</desc>
|
|
<examples>
|
|
<example>
|
|
<code><funclink>if</funclink>(!<funclink>ObjectCount</funclink>(<funclink>Find_ID</funclink>(Rock)))
|
|
{
|
|
<funclink>Log</funclink>("Hooray, no rocks anymore!");
|
|
GameOver();
|
|
}</code>
|
|
<text>Ends the round if no more rocks are present.</text>
|
|
</example>
|
|
</examples>
|
|
<related><funclink>EliminatePlayer</funclink></related>
|
|
</func>
|
|
<author>Günther</author><date>2002-04</date>
|
|
</funcs>
|