Changes

23 bytes added ,  16:16, 30 September 2013
Line 1: Line 1: −
Creates a city (a vertex) with the specified name, coordinates, radius, and color (the last two attributes will be used in later project parts). A city can be successfully created if its name is unique (i.e., there isn't already another city with the same name) and its coordinates are also unique (i.e., there isn't already another city with the same $(x,y)$ coordinate). Names are case-sensitive.  
+
Creates a city (a vertex) with the specified name, coordinates, radius, and color (the last two attributes will be used in later project parts). A city can be successfully created if its name is unique (i.e., there isn't already another city with the same name) and its coordinates are also unique (i.e., there isn't already another city with the same '''(x,y)''' coordinate). Names are case-sensitive.  
    
== Parameters (In output order) ==
 
== Parameters (In output order) ==
Line 8: Line 8:  
* color
 
* color
   −
== Possible <output> ==
+
== Possible ''<output>'' ==
 
* (None)
 
* (None)
   −
== Possible <error> types (In priority order) ==  
+
== Possible ''<error>'' types (In priority order) ==  
 
* duplicateCityName
 
* duplicateCityName
 
* duplicateCityCoordinates
 
* duplicateCityCoordinates
   −
== <success> Example ==
+
== ''<success>'' Example ==
 
<code>
 
<code>
 
     <success>
 
     <success>
         <command name="createCity"/>
+
         <command name="createCity" id="1"/>
 
         <parameters>
 
         <parameters>
 
             <name value="Annapolis"/>
 
             <name value="Annapolis"/>
editor
68

edits