colobot-data/ai/tfor2.txt

11 lines
237 B
Plaintext
Raw Normal View History

2012-09-13 21:35:43 +00:00
extern void object::Solution( )
{
for ( int i=0 ; i<4 ; i=i+1 ) // repeat 4 times
{
move(10); // move 10m forward
turn(90); // quarter turn left
fire(1); // destroy the target
turn(-180); // turns around
}
}