ECE2035 class project

Dependencies:   4DGL-uLCD-SE SDFileSystem mbed wave_player

Fork of missile_command by ECE 2035 TA

Revision:
1:3da29f1d84b4
Parent:
0:532cb55d6136
Child:
2:d39a6a36e0c0
--- a/city_landscape/city_landscape.cpp	Wed Oct 29 01:21:34 2014 +0000
+++ b/city_landscape/city_landscape.cpp	Wed Oct 29 02:58:53 2014 +0000
@@ -44,7 +44,7 @@
             city_record[i].status = EXIST;
         }
         else{
-            city_record[i].status = DESTORIED;
+            city_record[i].status = DESTROYED;
         }
     }
     
@@ -67,7 +67,7 @@
     return city_record[index];
 }
 
-void city_destory(int index){
+void city_destroy(int index){
     int j;
     int city_x, city_y, building_x, building_y;
     int height;
@@ -76,7 +76,7 @@
     ASSERT_P(index<MAX_NUM_CITY,ERROR_CITY_INDEX_DESTROY);
     
     // remove the record
-    city_record[index].status = DESTORIED;
+    city_record[index].status = DESTROYED;
     
     // use the background color to cover the city
     city_x = city_record[index].x;