Fixed spelling error in exercise 1.7 (colobot/colobot#794)
parent
ea8f679577
commit
60fb1c5dc1
|
@ -4,7 +4,7 @@ Move towards the spiders that are out of shooting range.
|
|||
\t;Program
|
||||
The program will look like the previous one, but before you shoot, use the instruction \c;\l;move\u cbot\move;();\n; in order to get close enough.
|
||||
|
||||
The question is just how many meters the bot must move. The instruction \c;\l;distance\u cbot\dist;( , )\n; calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by \c;item.position\n;, the position of the bot is give by \c;position\n;. The distance between the bot and the target is given by \c;\l;distance\u cbot\dist;(position, item.position)\n;. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward \c;\l;distance\u cbot\dist;(position, item.position)-40\n; meters. The following line will do this:
|
||||
The question is just how many meters the bot must move. The instruction \c;\l;distance\u cbot\dist;( , )\n; calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by \c;item.position\n;, the position of the bot is given by \c;position\n;. The distance between the bot and the target is given by \c;\l;distance\u cbot\dist;(position, item.position)\n;. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward \c;\l;distance\u cbot\dist;(position, item.position)-40\n; meters. The following line will do this:
|
||||
\c;
|
||||
\s; \l;move\u cbot\move;(\l;distance\u cbot\dist;(position, item.position)-40);
|
||||
\n;
|
||||
|
|
|
@ -61,7 +61,7 @@ msgstr "Das Programm wird dem aus der letzten Übung ähneln. Sie müssen vor de
|
|||
#. type: Plain text
|
||||
#: ../help/help.E.txt:7
|
||||
#, no-wrap
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is give by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is given by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgstr "Die Frage ist nun, wie viele Meter der Roboter fahren muss. Die Anweisung <code><a cbot|dist>distance</a>( , )</code> berechnet den Abstand zwischen zwei Punkten. In diesem Fall brauchen wir die Distanz zwischen dem Roboter und der Spinne. Die Position der Spinne ist gegeben durch <code>item.position</code> und die Position des Roboters ist gegeben durch <code>position</code>. Den Abstand zwischen Roboter und Spinne erhält man durch <code><a cbot|dist>distance</a>(position, item.position)</code>. Die Reichweite eines Feuerballs ist 40 Meter. Um also nahe genug an die Spinne heranzukommen, muss sich der Roboter um <code><a cbot|dist>distance</a>(position, item.position)-40</code> Meter bewegen. Folgende Zeile übernimmt das:"
|
||||
|
||||
#. type: Source code
|
||||
|
|
|
@ -61,7 +61,7 @@ msgstr ""
|
|||
#. type: Plain text
|
||||
#: ../help/help.E.txt:7
|
||||
#, no-wrap
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is give by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is given by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgstr ""
|
||||
|
||||
#. type: Source code
|
||||
|
|
|
@ -61,7 +61,7 @@ msgstr "Ten program będzie podobny do poprzedniego, ale przed strzałem użyj i
|
|||
#. type: Plain text
|
||||
#: ../help/help.E.txt:7
|
||||
#, no-wrap
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is give by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is given by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgstr "Pytanie tylko, ile metrów powinien przejechać robot. Instrukcja <code><a cbot|dist>distance</a>( , )</code> oblicza odległość pomiędzy dwoma punktami. W tym przypadku, konieczne jest poznanie odległości pomiędzy robotem i celem. Pozycja celu podawana jest przez <code>item.position</code>, pozycja robota przez <code>position</code>. Odległość pomiędzy celem i robotem jest podana przez<code><a cbot|dist>distance</a>(position, item.position)</code>. Zasięg działka strzelającego kulami ognia to 40 metrów. Aby się zbliżyć wystarczająco, robot musi iść naprzód <code><a cbot|dist>distance</a>(position, item.position)-40</code> metrów. Robi to następujący wiersz:"
|
||||
|
||||
#. type: Source code
|
||||
|
|
|
@ -61,7 +61,7 @@ msgstr "Программа будет выглядеть как и предыд
|
|||
#. type: Plain text
|
||||
#: ../help/help.E.txt:7
|
||||
#, no-wrap
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is give by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is given by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgstr "Вопрос просто в том, как близко должен подойти бот к пауку. Инструкция <code><a cbot|dist>distance</a>( , )</code> рассчитывает расстояние между двумя позициями. В этом случае мы должны узнать расстояние между ботом и целью. Позиция цели задается инструкцией <code>item.position</code>, позиция бота задается <code>position</code>. Расстояние между ботом и целью задается <code><a cbot|dist>distance</a>(position, item.position)</code>. Дальность полета огненного шара из пушки 40 метров. Чтобы подойти достаточно близко, бот должен пройти вперед <code><a cbot|dist>distance</a>(position, item.position)-40</code> метров. Это будет сделано с помощью следующей строки:"
|
||||
|
||||
#. type: Source code
|
||||
|
|
|
@ -61,7 +61,7 @@ msgstr ""
|
|||
#. type: Plain text
|
||||
#: ../help/help.E.txt:7
|
||||
#, no-wrap
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is give by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is given by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
|
||||
msgstr ""
|
||||
|
||||
#. type: Source code
|
||||
|
|
Loading…
Reference in New Issue