Robbie Huey / Mbed 2 deprecated baseline

Dependencies:   mbed wave_player 4DGL-uLCD-SE MMA8452

Embed: (wiki syntax)

« Back to documentation index

FRUIT Struct Reference

FRUIT Struct Reference

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

#include <fruit_public.h>

Data Fields

double source
 The x or y-coordinate of the fruit's origin.
double target
 The x or y-coordinate of the fruit's target.
int tick
 The fruit's internal tick.
FRUIT_STATUS status
 The fruit status, see FRUIT_STATUS.

Detailed Description

The structure to store the information of a fruit.

Definition at line 25 of file fruit_public.h.


Field Documentation

double source

The x or y-coordinate of the fruit's origin.

Definition at line 29 of file fruit_public.h.

FRUIT_STATUS status

The fruit status, see FRUIT_STATUS.

Definition at line 34 of file fruit_public.h.

double target

The x or y-coordinate of the fruit's target.

Definition at line 30 of file fruit_public.h.

int tick

The fruit's internal tick.

Definition at line 33 of file fruit_public.h.