Sizhe Lin / Mbed 2 deprecated missile_command_Sizhe_Lin

Dependencies:   4DGL-uLCD-SE SDFileSystem mbed wave_player

Fork of missile_command by ECE 2035 TA

Embed: (wiki syntax)

« Back to documentation index

CITY Struct Reference

CITY Struct Reference

The structure to store the information of a city. More...

#include <city_landscape_public.h>

Data Fields

int x
 Bottom-left corner of the city. x coordinate on the screen.
int y
 Bottom-left corner of the city. y coordinate on the screen.
int width
 The width of the city. The shape of the city is an rectangle.
int height
 The height of the city.
CITY_STATUS status
 See enum CITY_STATUS.

Detailed Description

The structure to store the information of a city.

Definition at line 34 of file city_landscape_public.h.


Field Documentation

int height

The height of the city.

Definition at line 38 of file city_landscape_public.h.

See enum CITY_STATUS.

Definition at line 39 of file city_landscape_public.h.

int width

The width of the city. The shape of the city is an rectangle.

Definition at line 37 of file city_landscape_public.h.

int x

Bottom-left corner of the city. x coordinate on the screen.

Definition at line 35 of file city_landscape_public.h.

int y

Bottom-left corner of the city. y coordinate on the screen.

Definition at line 36 of file city_landscape_public.h.