# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: DATE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 1.11.0\n" #. type: One-char language identifier #: levels-po/exercises/chapter005/level004/scene_langchar.txt:1 #, no-wrap msgid "E" msgstr "D" #. type: Title-text #: levels/exercises/chapter005/level004/scene.txt:1 #, no-wrap msgid "Flying mover" msgstr "" #. type: Resume-text #: levels/exercises/chapter005/level004/scene.txt:2 #, no-wrap msgid "Move a titanium cube across obstacles." msgstr "" #. type: ScriptName-text #: levels/exercises/chapter005/level004/scene.txt:3 #, no-wrap msgid "Mover" msgstr "" #. type: \b; header #: levels/exercises/chapter005/level004/help/help.E.txt:1 #, no-wrap msgid "Exercise" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:3 #, no-wrap msgid "Move the titanium cube on the finishing pad. You do not know the position of the titanium, but we can tell you the position of the finishing pad x=10 and y=-60." msgstr "" #. type: \b; header #: levels/exercises/chapter005/level004/help/help.E.txt:4 #, no-wrap msgid "The instruction goto" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:7 #, no-wrap msgid "" "The winged bot can get across obstacles. The instruction goto, if performed on a winged bot, will automatically perform a flying move, with a take-off at the beginning, and a landing at the end.\n" "This instruction can actually receive a second parameter, which is not compulsory: the flying altitude. If no second parameter is given, the flying altitude will be set to the default value of 10m." msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:10 #, no-wrap msgid "" "Therefore, the instruction:\n" "goto(item.position);" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:13 #, no-wrap msgid "" "Is equivalent to:\n" "goto(item.position, 10);" msgstr "" #. type: \b; header #: levels/exercises/chapter005/level004/help/help.E.txt:14 #, no-wrap msgid "The program" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:16 #, no-wrap msgid "Use the instruction radar(Titanium); in order to find the titanium cube. Then test if a titanium cube has actually been found. In this exercise, this line is not very useful, because we know that there is a titanium cube somewhere. However, it is better to take the habit of testing whatever your radar returns:" msgstr "" #. type: \s; block (usually verbatim code) #: levels/exercises/chapter005/level004/help/help.E.txt:21 #, no-wrap msgid "" "object item;\n" "item = radar(Titanium);\n" "if ( item == null ) return;\n" "goto(item.position);" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:23 #, no-wrap msgid "The variable item is of type object. In order to know the exact location of the object described by the variable, just write item.position." msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:25 #, no-wrap msgid "In order to take the titanium cube, use the instruction grab() without any parameter." msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:27 #, no-wrap msgid "In order to drop the titanium, use the instruction drop() without any parameter." msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:30 #, no-wrap msgid "" "We know the coordinates of the finishing pad: x=10 et y=-60. You must declare a variable of the type point, then fill it with the right coordinates. Then you can give this variable as a parameter to the instruction goto.\n" "Remark: You do not have to take care of the z coordinate in the case of a bot that can not fly." msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:32 #, no-wrap msgid "It is now up to you to finish the program..." msgstr "" #. type: \t; header #: levels/exercises/chapter005/level004/help/help.E.txt:33 #, no-wrap msgid "See also" msgstr "" #. type: Plain text #: levels/exercises/chapter005/level004/help/help.E.txt:34 #, no-wrap msgid "Programming, types and categories." msgstr ""