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

enemy_t Struct Reference

enemy_t Struct Reference

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

#include <enemy.h>

Data Fields

int enemy_blk_x
 horizontal position in the grid
int enemy_blk_y
 vertical position in the grid
int enemy_old_blk_x
 old horizontal position in the grid
int enemy_old_blk_y
 old vertical position in the grid
int enemy_color
 color of the enemy

Detailed Description

This struct contains the status of a enemy.

Definition at line 18 of file enemy.h.


Field Documentation

horizontal position in the grid

Definition at line 20 of file enemy.h.

vertical position in the grid

Definition at line 21 of file enemy.h.

color of the enemy

Definition at line 26 of file enemy.h.

old horizontal position in the grid

Definition at line 22 of file enemy.h.

old vertical position in the grid

Definition at line 23 of file enemy.h.