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

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 34 of file missile_public.h.


Field Documentation

double source_x

The x-coordinate of the missile's origin.

Definition at line 37 of file missile_public.h.

The missile status, see MISSILE_STATUS.

Definition at line 40 of file missile_public.h.

double target_x

The x-coordinate of the missile's target.

Definition at line 38 of file missile_public.h.

int tick

The missile's internal tick.

Definition at line 39 of file missile_public.h.

int x

The x-coordinate of missile current position.

Definition at line 35 of file missile_public.h.

int y

The y-coordinate of missile current position.

Definition at line 36 of file missile_public.h.