Difference between revisions of "ClearAll"

From CMSC 420
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Resets all of the structures including the PR Quadtree, clearing them. This has the effect of removing every city. This command cannot fail, so it should unilaterally produce a <success> element in the output XML.
+
Resets all of the structures including the PM Quadtree, clearing them. This has the effect of removing every city. This command cannot fail, so it should unilaterally produce a <success> element in the output XML.
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
<code>
 
<code>
 
     <success>
 
     <success>
         <command name="clearAll"/>
+
         <command name="clearAll" id="2"/>
 
         <parameters/>
 
         <parameters/>
 
         <output/>
 
         <output/>
 
     </success>
 
     </success>
 
</code>
 
</code>

Latest revision as of 16:15, 30 September 2013

Resets all of the structures including the PM Quadtree, clearing them. This has the effect of removing every city. This command cannot fail, so it should unilaterally produce a <success> element in the output XML.

Parameters[edit]

  • (None)

Possible <output>[edit]

  • (None)

Possible <error> types[edit]

  • (None)

<success> Example[edit]

   <success>
       <command name="clearAll" id="2"/>
       <parameters/>
       <output/>
   </success>