![]() |
Starship Code Contest
0.1
A real student nightmare...
|
This structure gathers the information needed to pilot a starship each frame. More...
#include <acquisition.h>
Data Fields | |
| int | move |
| double | angle_starship |
| double | angle_gun |
| double | angle_radar |
| int | shot |
This structure gathers the information needed to pilot a starship each frame.
Each frame, an A.I. can change the gear, change the angle move of the starship, turn the gun and the radar and use its gun to shot when this last one is reloaded.
Definition at line 21 of file acquisition.h.
| double Decision_frame::angle_gun |
Turning the gun : from -0.15 to 0.15 radian each frame.
Definition at line 24 of file acquisition.h.
| double Decision_frame::angle_radar |
Turning the radar : from -0.15 to 0.15 radian each frame.
Definition at line 25 of file acquisition.h.
| double Decision_frame::angle_starship |
Turning angle : from -0.05 to 0.05 radian each frame.
Definition at line 23 of file acquisition.h.
| int Decision_frame::move |
An integer for the gear : 0 neutral, 1 front gear, -1 reverse.
Definition at line 22 of file acquisition.h.
Referenced by decision_frame().
| int Decision_frame::shot |
An integer for the use of the gun : 1 to shot, 0 otherwise.
Definition at line 26 of file acquisition.h.
Referenced by decision_frame().
1.8.13