Matthias Dorudi
/
IF_Task1
Task1 if
Revision 1:a64f244ecf78, committed 2015-04-16
- Comitter:
- matthiasdorudi
- Date:
- Thu Apr 16 12:51:01 2015 +0000
- Parent:
- 0:42f81496681a
- Commit message:
- if task
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 42f81496681a -r a64f244ecf78 main.cpp --- a/main.cpp Thu Apr 16 12:29:43 2015 +0000 +++ b/main.cpp Thu Apr 16 12:51:01 2015 +0000 @@ -6,5 +6,12 @@ int main(){ Bertl_Predikatbefehl_LIB Tom; //Benennen - + Tom.Move(); + + if (Tom.LeftIsBlocked()){ + Tom.Move(); + } + else + Tom.ShutOff(); + } \ No newline at end of file