Lukas Feldgrill
/
task_Bertl
Alle Beeper werden zur Wand gebracht
Bertl_Bewegungen.cpp@0:78cdcb8ca467, 2015-04-24 (annotated)
- Committer:
- feldgrill1
- Date:
- Fri Apr 24 07:47:12 2015 +0000
- Revision:
- 0:78cdcb8ca467
Alle Beeper zur Wand bringen
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
feldgrill1 | 0:78cdcb8ca467 | 1 | #include "Bertl_Bewegungen.h" |
feldgrill1 | 0:78cdcb8ca467 | 2 | |
feldgrill1 | 0:78cdcb8ca467 | 3 | void Bertl_Bewegungen :: TurnRight () |
feldgrill1 | 0:78cdcb8ca467 | 4 | { |
feldgrill1 | 0:78cdcb8ca467 | 5 | TurnLeft(); |
feldgrill1 | 0:78cdcb8ca467 | 6 | TurnLeft(); |
feldgrill1 | 0:78cdcb8ca467 | 7 | TurnLeft(); |
feldgrill1 | 0:78cdcb8ca467 | 8 | } |
feldgrill1 | 0:78cdcb8ca467 | 9 | |
feldgrill1 | 0:78cdcb8ca467 | 10 | void Bertl_Bewegungen :: TurnAround () |
feldgrill1 | 0:78cdcb8ca467 | 11 | { |
feldgrill1 | 0:78cdcb8ca467 | 12 | TurnLeft(); |
feldgrill1 | 0:78cdcb8ca467 | 13 | TurnLeft(); |
feldgrill1 | 0:78cdcb8ca467 | 14 | } |
feldgrill1 | 0:78cdcb8ca467 | 15 | |
feldgrill1 | 0:78cdcb8ca467 | 16 | void Bertl_Bewegungen :: Move3Boxes () |
feldgrill1 | 0:78cdcb8ca467 | 17 | { |
feldgrill1 | 0:78cdcb8ca467 | 18 | Move(); |
feldgrill1 | 0:78cdcb8ca467 | 19 | Move(); |
feldgrill1 | 0:78cdcb8ca467 | 20 | Move(); |
feldgrill1 | 0:78cdcb8ca467 | 21 | } |
feldgrill1 | 0:78cdcb8ca467 | 22 | |
feldgrill1 | 0:78cdcb8ca467 | 23 | void Bertl_Bewegungen :: Move2Boxes() // Methodendefinition |
feldgrill1 | 0:78cdcb8ca467 | 24 | { |
feldgrill1 | 0:78cdcb8ca467 | 25 | Move(); |
feldgrill1 | 0:78cdcb8ca467 | 26 | Move(); |
feldgrill1 | 0:78cdcb8ca467 | 27 | } |
feldgrill1 | 0:78cdcb8ca467 | 28 | |
feldgrill1 | 0:78cdcb8ca467 | 29 | void Bertl_Bewegungen :: Move4Boxes() // Methodendefinition |
feldgrill1 | 0:78cdcb8ca467 | 30 | { |
feldgrill1 | 0:78cdcb8ca467 | 31 | Move2Boxes(); |
feldgrill1 | 0:78cdcb8ca467 | 32 | Move2Boxes(); |
feldgrill1 | 0:78cdcb8ca467 | 33 | } |
feldgrill1 | 0:78cdcb8ca467 | 34 |