Arnav Jindia / Mbed 2 deprecated Missile_Control_Game

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 11 of file city_landscape_public.h.


Field Documentation

int height

The height of the city.

Definition at line 15 of file city_landscape_public.h.

CITY_STATUS status

See enum CITY_STATUS.

Definition at line 16 of file city_landscape_public.h.

int width

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

Definition at line 14 of file city_landscape_public.h.

int x

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

Definition at line 12 of file city_landscape_public.h.

int y

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

Definition at line 13 of file city_landscape_public.h.