Tobis Programm forked to not destroy your golden files
Fork of Robocode by
source/movement.cpp@18:a82994e67297, 2017-03-02 (annotated)
- Committer:
- cittecla
- Date:
- Thu Mar 02 08:16:07 2017 +0000
- Revision:
- 18:a82994e67297
- Child:
- 19:baa8371d55b4
few changes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cittecla | 18:a82994e67297 | 1 | /** |
cittecla | 18:a82994e67297 | 2 | * Movement function library |
cittecla | 18:a82994e67297 | 3 | * Handels Movement of the Robot |
cittecla | 18:a82994e67297 | 4 | **/ |
cittecla | 18:a82994e67297 | 5 | |
cittecla | 18:a82994e67297 | 6 | |
cittecla | 18:a82994e67297 | 7 | #include "mbed.h" |
cittecla | 18:a82994e67297 | 8 | |
cittecla | 18:a82994e67297 | 9 | double time_counter = 0.0f; |
cittecla | 18:a82994e67297 | 10 | double deltatime = 0.0f; |
cittecla | 18:a82994e67297 | 11 | |
cittecla | 18:a82994e67297 | 12 | void move_init() |
cittecla | 18:a82994e67297 | 13 | { |
cittecla | 18:a82994e67297 | 14 | |
cittecla | 18:a82994e67297 | 15 | } |
cittecla | 18:a82994e67297 | 16 | |
cittecla | 18:a82994e67297 | 17 | void move_forward_slow() |
cittecla | 18:a82994e67297 | 18 | { |
cittecla | 18:a82994e67297 | 19 | |
cittecla | 18:a82994e67297 | 20 | } |
cittecla | 18:a82994e67297 | 21 | |
cittecla | 18:a82994e67297 | 22 | void move_forward_medium() |
cittecla | 18:a82994e67297 | 23 | { |
cittecla | 18:a82994e67297 | 24 | |
cittecla | 18:a82994e67297 | 25 | } |
cittecla | 18:a82994e67297 | 26 | |
cittecla | 18:a82994e67297 | 27 | void move_forward_fast() |
cittecla | 18:a82994e67297 | 28 | { |
cittecla | 18:a82994e67297 | 29 | |
cittecla | 18:a82994e67297 | 30 | } |
cittecla | 18:a82994e67297 | 31 | |
cittecla | 18:a82994e67297 | 32 | void move_backward_slow() |
cittecla | 18:a82994e67297 | 33 | { |
cittecla | 18:a82994e67297 | 34 | |
cittecla | 18:a82994e67297 | 35 | } |
cittecla | 18:a82994e67297 | 36 | |
cittecla | 18:a82994e67297 | 37 | void move_forward_slow() |
cittecla | 18:a82994e67297 | 38 | { |
cittecla | 18:a82994e67297 | 39 | |
cittecla | 18:a82994e67297 | 40 | } |
cittecla | 18:a82994e67297 | 41 | |
cittecla | 18:a82994e67297 | 42 | void move_forward_slow() |
cittecla | 18:a82994e67297 | 43 | { |
cittecla | 18:a82994e67297 | 44 | |
cittecla | 18:a82994e67297 | 45 | } |
cittecla | 18:a82994e67297 | 46 | |
cittecla | 18:a82994e67297 | 47 |