ECE 4180 Single Player Space Invaders Team / Mbed 2 deprecated Mbed-Space-Invaders4

Dependencies:   mbed wave_player mbed-rtos 4DGL-uLCD-SE SDFileSystem

Embed: (wiki syntax)

« Back to documentation index

player_t Struct Reference

player_t Struct Reference

This struct contains the status of a player. More...

#include <player.h>

Data Fields

int player_blk_x
 horizontal position in the grid
int player_blk_y
 vertical position in the grid
unsigned int player_old_blk_x
 old horizontal position in the grid
unsigned int player_old_blk_y
 old vertical position in the grid
int player_color
 color of the player

Detailed Description

This struct contains the status of a player.

Definition at line 17 of file player.h.


Field Documentation

horizontal position in the grid

Definition at line 19 of file player.h.

vertical position in the grid

Definition at line 20 of file player.h.

color of the player

Definition at line 25 of file player.h.

unsigned int player_old_blk_x

old horizontal position in the grid

Definition at line 21 of file player.h.

unsigned int player_old_blk_y

old vertical position in the grid

Definition at line 22 of file player.h.