Alice 3.3: различия между версиями

Содержимое удалено Содержимое добавлено
Строка 12:
{
if (MoveForward) is true then
sphere move(direction = FORWARD, amount = Force, duration = Duration, animationStyle = BEGIN_AND_END_ARBUTLY)
else
sphere move(direction = BACKWARD, amount = Force, duration = Duration, animationStyle = BEGIN_AND_END_ARBUTLY)
if (MoveRight) is true
sphere move(direction = RIGHT, amount = Force, duration = Duration, animationStyle = BEGIN_AND_END_ARBUTLY)
else
sphere move(direction = LEFT, amount = Force, duration = Duration, animationStyle = BEGIN_AND_END_ARBUTLY)
}
MoveForward = nextRandomBoolean()