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

MISSILE Struct Reference

MISSILE Struct Reference

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

#include <missile_public.h>

Data Fields

int x
 The x-coordinate of missile current position.
int y
 The y-coordinate of missile current position.
double source_x
 The x-coordinate of the missile's origin.
double target_x
 The x-coordinate of the missile's target.
int tick
 The missile's internal tick.
MISSILE_STATUS status
 The missile status, see MISSILE_STATUS.

Detailed Description

The structure to store the information of a missile.

Definition at line 13 of file missile_public.h.


Field Documentation

double source_x

The x-coordinate of the missile's origin.

Definition at line 16 of file missile_public.h.

MISSILE_STATUS status

The missile status, see MISSILE_STATUS.

Definition at line 19 of file missile_public.h.

double target_x

The x-coordinate of the missile's target.

Definition at line 17 of file missile_public.h.

int tick

The missile's internal tick.

Definition at line 18 of file missile_public.h.

int x

The x-coordinate of missile current position.

Definition at line 14 of file missile_public.h.

int y

The y-coordinate of missile current position.

Definition at line 15 of file missile_public.h.