Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE SDFileSystem mbed wave_player
Fork of missile_command by
Diff: player.h
- Revision:
- 4:0dc720aa3c71
- Parent:
- 2:d39a6a36e0c0
- Child:
- 5:3f356592ee9c
diff -r fd1f794b7f5d -r 0dc720aa3c71 player.h
--- a/player.h Mon Nov 17 13:53:14 2014 +0000
+++ b/player.h Mon Nov 17 20:31:36 2014 +0000
@@ -52,7 +52,10 @@
PLAYER_STATUS status;//if he is dead
int score;//# of interceptions
int protector_num;// number of protector left
- PROTECTOR protector;
+ PROTECTOR protector;
+ int is_diagnoal;
+ int angle;
+ int timer;
} PLAYER;
/** et the information of city
@brief x and y are the top left corner of the player drawing
@@ -74,6 +77,8 @@
int speed;
int tick; //anti missile's internal clock
ANTIMISSLE_STATUS status;
+ int is_diagnoal;
+ int angle;
} ANTIMISSILE;
typedef enum{
