Difference between revisions of "MapCity"
From CMSC 420
(Created page with "Inserts the named city into the spatial map. == Parameters == * name == Possible <output> == * (None) == Possible <error> types == * nameNotInDictionary * cityAlreadyMapped...") |
|||
Line 4: | Line 4: | ||
* name | * name | ||
− | == Possible <output> == | + | == Possible ''<output>'' == |
* (None) | * (None) | ||
− | == Possible <error> types == | + | == Possible ''<error>'' types == |
* nameNotInDictionary | * nameNotInDictionary | ||
* cityAlreadyMapped | * cityAlreadyMapped | ||
* cityOutOfBounds | * cityOutOfBounds | ||
− | == <success> Example == | + | == ''<success>'' Example == |
<code> | <code> | ||
<success> | <success> |
Revision as of 00:11, 11 September 2013
Inserts the named city into the spatial map.
Parameters[edit]
- name
Possible <output>[edit]
- (None)
Possible <error> types[edit]
- nameNotInDictionary
- cityAlreadyMapped
- cityOutOfBounds
<success> Example[edit]
<success>
<command name="mapCity"/>
<parameters>
<name value="Annapolis"/>
</parameters>
<output/>
</success>